{"id":"CVE-2018-18764","details":"An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in a parse_mqtt getu16 call. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.","modified":"2026-08-07T16:50:38.480260Z","published":"2018-10-29T12:29:10.070Z","references":[{"type":"EVIDENCE","url":"https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow1.md"},{"type":"EVIDENCE","url":"https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow2.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cesanta/mongoose","events":[{"introduced":"95afa323c0e7740151f661629616daebe2915b61"},{"last_affected":"95afa323c0e7740151f661629616daebe2915b61"}],"database_specific":{"cpe":"cpe:2.3:a:cesanta:mongoose:6.13:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.13"},{"last_affected":"6.13"}],"source":"CPE_STRING"}}],"versions":["6.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18764.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}