{"id":"CVE-2019-12951","aliases":["DEBIAN-CVE-2019-12951","EUVD-2019-4526","GHSA-hp76-j5v2-prm5","UBUNTU-CVE-2019-12951"],"status":"published","title":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a...","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01954,"percentile":0.80434,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2019-06-24T22:05:46Z","modified":"2026-10-20T13:39:51Z","fixes":[{"ecosystem":"Debian:12","package":"swupdate","fixed_in":["2021.04-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"swupdate","fixed_in":["2021.04-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"swupdate","fixed_in":["2021.04-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.04-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.04-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"swupdate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.04-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"smplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["17.7.0~ds0-1build1","17.8.0~ds0-1","17.8.0~ds0-1build1","17.11.2~ds0-1","18.2.2~ds0-1"]}],"products":[{"vendor":"cesanta","product":"mongoose"}],"references":[{"url":"https://github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/6.15","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12951"},{"url":"https://github.com/advisories/GHSA-hp76-j5v2-prm5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-12951","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-12951","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12951","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-12951","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T22:05:46Z","modified":"2024-08-04T23:32:55.582Z","updated_at":"2026-11-02T14:20:24.025419Z"}],"euvd":[{"id":"EUVD-2019-4526","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T22:05:46Z","modified":"2024-08-04T23:32:55Z","updated_at":"2026-11-03T02:40:44.337354Z"}],"ghsa":[{"id":"GHSA-hp76-j5v2-prm5","title":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a...","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2022-05-24T22:00:10Z","modified":"2023-01-30T05:04:17Z","updated_at":"2026-11-02T14:47:00.827412Z"}],"nvd":[{"id":"CVE-2019-12951","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T23:15:12.21Z","modified":"2026-06-17T02:15:47.12Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:05:17.695191Z"}],"osv":[{"id":"CVE-2019-12951","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T23:15:12.21Z","modified":"2026-10-20T13:39:51.000611209Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"DEBIAN-CVE-2019-12951","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T23:15:12.21Z","modified":"2026-09-21T07:02:17.064653642Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"UBUNTU-CVE-2019-12951","description":"An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.","status":"published","published":"2019-06-24T23:15:00Z","modified":"2025-10-24T04:47:41Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:19.202697Z"}]}}
