# CVE-2023-2905: Cesanta Mongoose MQTT Message Parsing Heap Overflow

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-09T04:46:14.972Z
- Modified: 2026-06-17T05:53:45.197Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: AHA

## Description

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.

(As written by CVE List.)

## Affected

- Cesanta Mongoose: 7.10 (not affected: 7.11)

## References

- <https://takeonme.org/cves/CVE-2023-2905.html> (exploit, patch, technical-description, third-party-advisory)
- <https://github.com/cesanta/mongoose/pull/2274> (patch)
- <https://github.com/cesanta/mongoose/releases/tag/7.11> (release-notes)

## Sources

- CVE List: [CVE-2023-2905](https://www.cve.org/CVERecord?id=CVE-2023-2905), CVE Terms of Use, modified 2024-10-10
- NVD: [CVE-2023-2905](https://nvd.nist.gov/vuln/detail/CVE-2023-2905), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2905 · Whole record: https://cve.day/CVE-2023-2905.json · Rebuilt by cve.day 2026-11-25T22:58:26.968Z
