Out-of-bounds read in NanoMQ - CVE-2026-34608

 

Out-of-bounds read in NanoMQ - CVE-2026-34608

Published: April 24, 2026


Vulnerability identifier: #VU127591
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-34608
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to out-of-bounds read in hook_work_cb() in webhook_inproc.c when parsing an nng message body with cJSON_Parse(). A remote privileged user can send a specially crafted PUBLISH message to cause a denial of service.

Exploitation requires the webhook feature to be enabled, and the issue is reliably triggered with a power-of-two JSON payload length of at least 1024 bytes.


Affected software

NanoMQ

How to mitigate CVE-2026-34608

Install security update from vendor's website.

NanoMQ - update to 0.24.1

External References

Related Security Bulletins