CVE-2023-2905 json
Cesanta Mongoose MQTT Message Parsing Heap Overflow
published 2023-08-09 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-34351
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
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.
Patch / fix
- Cesanta Mongoose 7.11
- swupdate Debian 14, Debian 13 2024.12+dfsg-1
debian advisories DEBIAN-CVE-2023-2905
- github.com/cesanta/mongoose#2274 pull request
- github.com/cesanta/mongoose/releases/tag/7.11 release
- takeonme.org/cves/CVE-2023-2905.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-2905 updated cvss 5.3
mongoose: MQTT message parsing heap overflow
-
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools phantomjs Red Hat Storage 3 phantomjsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- takeonme.org https://takeonme.org/cves/CVE-2023-2905.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Cesanta Mongoose
Classification
References
-
github.com
/cesanta/mongoose/pull/2274
patch
-
takeonme.org
/cves/CVE-2023-2905.html
third-party-advisory, technical-description, exploit, patch
-
github.com
/cesanta/mongoose/releases/tag/7.11
release-notes
Sources
- CVE List CVE-2023-2905
- NVD CVE-2023-2905
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.