BreachSpiderVerified, not vibes

CVE-2025-68699 in Emqx Nanomq

Medium 6.5

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In version 0.24.6, NanoMQ has a protocol parsing / forwarding inconsistency when handling shared subscriptions ($share/). A malformed SUBSCRIBE topic such as $share/ab (missing the second /) is not strictly validated during the subscription stage,...

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

CVSS 3.16.5
EPSS0.5%
EPSS percentile35th
FixUnknown

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

Affected products and versions

VendorProductAffected versions
Emqx Nanomq 0.24.6

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. In version 0.24.6, NanoMQ has a protocol parsing / forwarding inconsistency when handling shared subscriptions ($share/). A malformed SUBSCRIBE topic such as $share/ab (missing the second /) is not strictly validated during the subscription stage, so the invalid Topic Filter is stored into the subscription table. Later, when any PUBLISH matches this subscription, the broker send path (nmq_pipe_send_start_v4/v5) performs a second $share/ parsing using strchr() and increments the returned pointer without NULL checks. If the second strchr() returns NULL, sub_topic++ turns the pointer into an invalid address (e.g. 0x1). This invalid pointer is then passed into topic_filtern(), which triggers strlen() and crashes with SIGSEGV. The crash is stable and remotely triggerable. This issue has been patched in version 0.24.7.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-68699
BreachSpider IDBS-2026-GLOBAL-276169-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2026-02-04
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-476: NULL Pointer Dereference

Software attempts to use a NULL pointer, causing a crash and denial of service.

Analysis AI-written, not human-reviewed

NanoMQ MQTT Broker version 0.24.6 contains a protocol parsing inconsistency issue related to shared subscriptions. Malformed SUBSCRIBE topics can be stored in the subscription table, potentially leading to unexpected behavior or security vulnerabilities.

An attacker can exploit this vulnerability by sending a malformed SUBSCRIBE topic such as $share/ab (missing the second /) to the NanoMQ broker. This can lead to the storage of an invalid Topic Filter in the subscription table, which may cause the broker to behave unpredictably or allow unauthorized access to shared subscriptions.

Questions

What is CVE-2025-68699?

NanoMQ MQTT Broker version 0.24.6 contains a protocol parsing inconsistency issue related to shared subscriptions. Malformed SUBSCRIBE topics can be stored in the subscription table, potentially leading to unexpected behavior or security vulnerabilities.

What is the CVSS score for CVE-2025-68699?

CVE-2025-68699 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 0.5%.

Is CVE-2025-68699 actively exploited?

No confirmed active exploitation of CVE-2025-68699 as of 2026-09-25.

How do I remediate CVE-2025-68699?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2025-68699?

CVE-2025-68699 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-06-17.