PT-2026-29862 · Nanomq · Nanomq

·

CVE-2026-34608

·

Published

2026-04-02

·

Updated

2026-04-02

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Name of the Vulnerable Software and Affected Versions NanoMQ versions prior to 0.24.10
Description In the webhook inproc.c file, the hook work cb() function processes nng messages by parsing the message body using cJSON Parse(body). Because the body is retrieved via nng msg body(msg) as a binary buffer without a guaranteed null terminator, an out-of-bounds read (OOB read) occurs. This happens because cJSON Parse continues reading memory until it encounters a null terminator, potentially accessing memory beyond the allocated buffer, such as nng msg metadata or adjacent heap/stack memory. This issue is reliably triggered when the JSON payload length is a power-of-two greater than or equal to 1024, as no allocation padding is added in those cases.
Recommendations Update to version 0.24.10.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-34608
GHSA-8P57-JXJ9-3QQ3

Affected Products

Nanomq