BreachSpiderVerified, not vibes

CVE-2026-34608 in Emqx Nanomq

High 8.2

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.24.10, in NanoMQ's webhook_inproc.c, the hook_work_cb() function processes nng messages by parsing the message body with cJSON_Parse(body). The body is obtained from nng_msg_body(msg), which is a binary buffer without a guarante...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.2
EPSS0.7%
EPSS percentile46th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Emqx Nanomq < 0.24.10

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.24.10, in NanoMQ's webhook_inproc.c, the hook_work_cb() function processes nng messages by parsing the message body with cJSON_Parse(body). The body is obtained from nng_msg_body(msg), which is a binary buffer without a guaranteed null terminator. This leads to an out-of-bounds read (OOB read) as cJSON_Parse reads until it finds a \0, potentially accessing memory beyond the allocated buffer (e.g., nng_msg metadata or adjacent heap/stack). The issue is often masked by nng's allocation padding (extra 32 bytes of zeros for non-power-of-two sizes <1024 or non-aligned). The overflow is reliably triggered when the JSON payload length is a power-of-two >=1024 (no padding added). This issue has been patched in version 0.24.10.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34608
BreachSpider IDBS-2026-GLOBAL-151253-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Published2026-04-02
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

CWE-457: CWE-457

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

NanoMQ MQTT Broker versions prior to 0.24.10 are vulnerable to an out-of-bounds read due to improper handling of message bodies in the webhook_inproc.c file.

The vulnerability arises from the hook_work_cb() function in webhook_inproc.c, which processes nng messages by parsing the message body with cJSON_Parse(body). The body is obtained from nng_msg_body(msg), which is a binary buffer without a guaranteed null terminator, leading to an OOB read.

Questions

What is CVE-2026-34608?

NanoMQ MQTT Broker versions prior to 0.24.10 are vulnerable to an out-of-bounds read due to improper handling of message bodies in the webhook_inproc.c file.

What is the CVSS score for CVE-2026-34608?

CVE-2026-34608 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H. EPSS: 0.7%.

Is CVE-2026-34608 actively exploited?

No confirmed active exploitation of CVE-2026-34608 as of 2026-07-25.

How do I remediate CVE-2026-34608?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34608?

CVE-2026-34608 affects Emqx Nanomq.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Emqx","product":"Nanomq","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.