# CVE-2026-73863: NanoMQ: Heap-Buffer-Overflow in \`nmq\_subinfo\_decode()\` During MQTT v5 SUBSCRIBE Parsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v4.0, CNA) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-09-18T16:20:18.290Z
- **Modified:** 2026-09-24T21:18:35.913Z

## Who should check

- Anyone running nanomq \< 0.24.14

## Description

NanoMQ is an MQTT broker. Prior to 0.24.14, NanoMQ's broker-side MQTT v5 nmq\_subinfo\_decode() function in nng/src/sp/protocol/mqtt/mqtt\_parser.c reuses len\_of\_varint from the outer Properties Length while parsing each SUBSCRIPTION\_IDENTIFIER. A remote client can send a SUBSCRIBE packet with a multi-byte Properties Length and repeated subscription identifiers, causing get\_var\_integer() to begin at an incorrect offset and read beyond the heap message buffer. The flaw is reachable through the broker receive path and can crash the broker, while the separately reported topic-option off-by-one occurs later and is not this vulnerability. This issue is fixed in version 0.24.14.

## Affected and fixed versions

- nanomq: \< 0.24.14 (cvelist)

## Mitigation

- Upgrade nanomq to 0.24.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-73863. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-73863.md
Affected: nanomq < 0.24.14
Fixed in: nanomq 0.24.14

Steps:
1. Search this machine and project for nanomq: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-73863 being exploited?

There is no confirmed exploitation: CVE-2026-73863 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-73863?

High: CVSS 7.0 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-73863?

nanomq \< 0.24.14.

### Is there a fix for CVE-2026-73863?

Yes. Fixed in nanomq 0.24.14. Upgrade nanomq to 0.24.14 or later.

### How do I check if I'm affected by CVE-2026-73863?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/nanomq/nanomq/security/advisories/GHSA-pf97-vm7h-q84m>
- patch: <https://github.com/nanomq/NanoNNG/pull/1518>
- patch: <https://github.com/nanomq/NanoNNG/commit/f888fe39d6691b253ff9aee598ce58bbe449ab6f>
- other: <https://github.com/nanomq/nanomq/releases/tag/0.24.14>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-73863>

HTML: <https://flawdb.com/CVE-2026-73863> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-73863>
