Due to a failure in validating the length of a provided MQTTCMDPUBLISH 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.
{
"cna_assigner": "AHA",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2905.json",
"cwe_ids": [
"CWE-122"
]
}"2026-07-15T15:53:35Z"
[
{
"target": {
"function": "mqtt_cb",
"file": "mongoose.c"
},
"id": "CVE-2023-2905-4da521ed",
"digest": {
"function_hash": "322578170098778285952942806764184170488",
"length": 2019.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/cesanta/mongoose/commit/5c8e05a4fc34c5309ceea887a7e60b895b2100d7"
},
{
"target": {
"file": "mongoose.c"
},
"id": "CVE-2023-2905-72b6c1ca",
"digest": {
"line_hashes": [
"117949057774234710139995544902745237138",
"313220653113354972269039999932499615694",
"248097422983505795697698419060461918",
"261418787229042588120440473792472697846",
"264179395874945463223054796764526256741"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/cesanta/mongoose/commit/5c8e05a4fc34c5309ceea887a7e60b895b2100d7"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2905.json"