Cesanta Mongoose MQTT Message Parsing Heap Overflow
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Mongoose (Cesanta) Fixed in 7.11
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2023-2905
- 2026-10-03 Alias added: GHSA-pv78-3m65-h826
References
More Cesanta Mongoose vulnerabilities
- TI-2026-51393 Mongoose: Content-Length + Transfer-Encoding coexistence enables request smuggling CVSS 3.1CRITICAL 9.1
- TI-2026-51389 Mongoose: TLS Hostname Verification Bypass via Overly Permissive Wildcard Matching CVSS 4.0CRITICAL 9.1
- TI-2020-15865 Buffer overflow in mg_resolve_from_hosts_file in Mongoose 6.18, when reading from a crafted hosts file. CVSS 3.1HIGH 8.8
- TI-2023-17032 The HTTP server in Mongoose before 7.10 accepts requests containing negative… CVSS 3.1HIGH 7.5
- TI-2026-06113 Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop CVSS 4.0MEDIUM 6.9
- TI-2019-13923 An integer overflow in parse_mqtt in mongoose.c in Cesanta Mongoose 6.16 allows an… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-2905 · CVE Program
- CVE-2023-2905 · NVD
- FIRST EPSS
- GHSA-pv78-3m65-h826 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-2905 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences