CVE-2026-35217
Last modified
CVE-2026-35217 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. NanoMQ contains a protocol-semantics flaw in its MQTT v5 `SUBSCRIBE` handling: if a subscription entry is missing the final 1-byte `Subscription Options` field, the broker may still accept the malformed packet and install the subscription into internal broker state. Under a specific packet-length construction, the same parser flaw also causes a 1-byte out-of-bounds read that crosses the real heap allocation boundary and is detected by ASAN as a `heap-buffer-overflow`. If the consumed byte happens to look acceptable, NanoMQ may continue and append the malformed subscription entry into its internal `subinfol` state. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
NanoMQ contains a protocol-semantics flaw in its MQTT v5 `SUBSCRIBE` handling: if a subscription entry is missing the final 1-byte `Subscription Options` field, the broker may still accept the malformed packet and install the subscription into internal broker state. Under a specific packet-length construction, the same parser flaw also causes a 1-byte out-of-bounds read that crosses the real heap allocation boundary and is detected by ASAN as a `heap-buffer-overflow`. If the consumed byte happens to look acceptable, NanoMQ may continue and append the malformed subscription entry into its internal `subinfol` state. In that case, a `SUBSCRIBE` packet that should be rejected by MQTT rules is instead treated as a successful subscription. Whether ASAN reports the bug does not depend on MQTT's logical `remain` boundary; it depends on whether the read crosses the real heap allocation boundary of the underlying message buffer. In other words, these are not two unrelated issues. They are two manifestations of the same parsing defect: by default, it appears as a semantic vulnerability, and under suitable input conditions, it also becomes a verifiable out-of-bounds read vulnerability.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nanomq | nanomq | <= 0.24.14 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-35217?
How severe is CVE-2026-35217?
How do I fix CVE-2026-35217?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-35211OpenCTI is an open source platform for managing cyber threat…6.5
- CVE-2026-35212OpenCTI is an open source platform for managing cyber threat…6.1
- CVE-2026-35213@hapi/content provided HTTP Content-* headers parsing. All v…7.5
- CVE-2026-35214Budibase is an open-source low-code platform. Prior to versi…8.7
- CVE-2026-35215Firebird is an open-source relational database management sy…7.5
- CVE-2026-35216Budibase is an open-source low-code platform. Prior to versi…9
- CVE-2026-35218Budibase is an open-source low-code platform. Prior to versi…8.7
- CVE-2026-35220Lack of CSRF token validation lead to a CSRF attack vector i…4.3
- CVE-2026-35221Improperly built filter clauses lead to a SQL injection vuln…9.8
- CVE-2026-35222Improperly validated order clauses lead to a SQL injection v…9.8
- CVE-2026-35223An improper access check allows unauthorized access to com_c…9.8
- CVE-2026-35225An unauthenticated remote attacker is able to exhaust all av…8.7
Are you affected by CVE-2026-35217?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
