{"id":"CVE-2018-18765","aliases":["DEBIAN-CVE-2018-18765","EUVD-2018-10481","GHSA-w62j-xhgm-2ggr","UBUNTU-CVE-2018-18765"],"status":"published","title":"An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing...","description":"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 mg_mqtt_next_subscribe_topic. 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.","severity":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01835,"percentile":0.79074,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-10-28T19:00:00Z","modified":"2026-10-24T10:30:50Z","fixes":[{"ecosystem":"Debian:12","package":"smplayer","fixed_in":["18.5.0~ds1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"smplayer","fixed_in":["18.5.0~ds1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"smplayer","fixed_in":["18.5.0~ds1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"smplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.5.0~ds1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"smplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.5.0~ds1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"smplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.5.0~ds1-1"}]}]}],"products":[{"vendor":"cesanta","product":"mongoose"}],"references":[{"url":"https://twitter.com/thracky/status/1059472674940993541","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20mg_mqtt_next_subscribe_topic%20heap%20buffer%20overflow.md","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18765"},{"url":"https://github.com/advisories/GHSA-w62j-xhgm-2ggr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-18765","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-18765","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-18765","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-18765","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2018-10-28T19:00:00Z","modified":"2024-08-05T11:16:00.424Z","updated_at":"2026-11-02T14:35:11.799349Z"}],"euvd":[{"id":"EUVD-2018-10481","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2018-10-28T19:00:00Z","modified":"2024-08-05T11:16:00Z","updated_at":"2026-11-03T02:39:35.233033Z"}],"ghsa":[{"id":"GHSA-w62j-xhgm-2ggr","title":"An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing...","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2022-05-14T01:51:58Z","modified":"2023-02-02T05:04:40Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:51:55.949216Z"}],"nvd":[{"id":"CVE-2018-18765","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2018-10-29T12:29:10.273Z","modified":"2026-06-17T01:47:51.6Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:46.409324Z"}],"osv":[{"id":"CVE-2018-18765","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2018-10-29T12:29:10.273Z","modified":"2026-10-24T10:30:50.656623649Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-18765","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"published","published":"2018-10-29T12:29:10.273Z","modified":"2026-10-23T18:02:29.366564044Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-18765","description":"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 mg_mqtt_next_subscribe_topic. 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.","status":"withdrawn","published":"2018-10-29T12:29:00Z","modified":"2025-07-16T07:18:45.304896Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.496046Z"}]}}
