{"id":"CVE-2023-2905","aliases":["DEBIAN-CVE-2023-2905","EUVD-2023-34351","GHSA-pv78-3m65-h826","UBUNTU-CVE-2023-2905"],"status":"published","title":"Cesanta Mongoose MQTT Message Parsing Heap Overflow","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01006,"percentile":0.63246,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-787"],"published":"2023-08-09T04:46:14Z","modified":"2026-10-28T10:28:07Z","fixes":[{"ecosystem":"Debian:13","package":"swupdate","fixed_in":["2024.12+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"swupdate","fixed_in":["2024.12+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2022.12+dfsg-4","2022.12+dfsg-4+deb12u1","2022.12+dfsg-4+deb12u1~bpo11+1","2022.12+dfsg-4+deb12u2","2022.12+dfsg-4+deb12u3","2023.05+dfsg-1","2023.05+dfsg-2","2023.05+dfsg-2~bpo12+1","2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-5","2023.05+dfsg-5~bpo12+1","2023.12+dfsg-1","2023.12+dfsg-1~bpo12+1","2023.12.1+dfsg-1","2023.12.1+dfsg-1~bpo12+1","2023.12.1+dfsg-2","2023.12.1+dfsg-2~bpo12+1","2024.05+dfsg-1","2024.05.2+dfsg-1","2024.05.2+dfsg-2","2024.05.2+dfsg-2~bpo12+1","2024.12+dfsg-1","2024.12+dfsg-2","2024.12+dfsg-2~bpo12+1","2024.12.1+dfsg-1","2024.12.1+dfsg-1~bpo12+1","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2024.12.1+dfsg-3~bpo12+1","2025.05+dfsg-1","2025.05+dfsg-2","2025.05+dfsg-2~bpo13+1","2025.05+dfsg-3","2025.05+dfsg-3~bpo13+1","2025.12+dfsg-1","2025.12+dfsg-10","2025.12+dfsg-10~bpo13+1","2025.12+dfsg-10~bpo13+2","2025.12+dfsg-2","2025.12+dfsg-2~bpo13+1","2025.12+dfsg-3","2025.12+dfsg-4","2025.12+dfsg-5","2025.12+dfsg-6","2025.12+dfsg-7","2025.12+dfsg-7~bpo13+1","2025.12+dfsg-8","2025.12+dfsg-9","2026.05+dfsg-1","2026.05+dfsg-2","2026.05+dfsg-3","2026.05+dfsg-3~bpo13+1","2026.05+dfsg-4","2026.05.1+dfsg-1","2026.05.1+dfsg-1~bpo13+1","2026.05.1+git20261001+dfsg-1","2026.05.1+git20261001+dfsg-2","2026.05.1+git20261001+dfsg-2~bpo13+1"]},{"source":"osv","ecosystem":"Debian:13","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.12+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.12+dfsg-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-4build1","2023.05+dfsg-5","2023.12+dfsg-1","2023.12.1+dfsg-1ubuntu1","2023.12.1+dfsg-1ubuntu4","2023.12.1+dfsg-1ubuntu5"]}],"products":[{"vendor":"automattic","product":"mongoose"},{"vendor":"cesanta","product":"mongoose"}],"references":[{"url":"https://takeonme.org/cves/CVE-2023-2905.html","tags":["third-party-advisory","technical-description","exploit","x_transferred","Exploit","Patch","Third Party Advisory","evidence"]},{"url":"https://github.com/cesanta/mongoose/pull/2274","tags":["patch","x_transferred","Patch","fix"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.11","tags":["release-notes","x_transferred","Release Notes","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2905","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pv78-3m65-h826"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2905.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-2905","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-2905","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2905","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-2905","title":"Cesanta Mongoose MQTT Message Parsing Heap Overflow","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.\n","status":"published","published":"2023-08-09T04:46:14.972Z","modified":"2024-10-10T14:56:29.619Z","cwes":["CWE-122"],"updated_at":"2026-11-02T14:35:23.645864Z"}],"euvd":[{"id":"EUVD-2023-34351","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.\n","status":"published","published":"2023-08-09T04:46:14Z","modified":"2024-10-10T14:56:29Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"none"}],"updated_at":"2026-11-03T00:27:41.519615Z"}],"ghsa":[{"id":"GHSA-pv78-3m65-h826","title":"Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a...","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.\n","status":"published","published":"2023-08-09T06:31:10Z","modified":"2024-04-04T06:43:24Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:56:44.910366Z"}],"nvd":[{"id":"CVE-2023-2905","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.\n","status":"published","published":"2023-08-09T05:15:40.74Z","modified":"2026-06-17T05:53:45.197Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:08:22.812138Z"}],"osv":[{"id":"DEBIAN-CVE-2023-2905","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.","status":"published","published":"2023-08-09T05:15:40.74Z","modified":"2026-10-26T18:01:48.371582583Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.679062Z"},{"id":"UBUNTU-CVE-2023-2905","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.","status":"published","published":"2023-08-09T05:15:00Z","modified":"2026-07-29T10:15:47.322953317Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.997471Z"},{"id":"CVE-2023-2905","title":"Cesanta Mongoose MQTT Message Parsing Heap Overflow","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.\n","status":"published","published":"2023-08-09T04:46:14.972Z","modified":"2026-10-28T10:28:07.699521301Z","cwes":["CWE-122"],"updated_at":"2026-11-02T15:44:31.468318Z"}]}}
