{"id":"CVE-2024-31040","aliases":["CVE-2024-31040"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer Overflow vulnerability in the getvarinteger function in mqttparser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of s…","summary":"Buffer Overflow vulnerability in the get_var_integer function in mqtt_parser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of service via a series of specially crafted hexstreams.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Buffer Overflow vulnerability in the get_var_integer function in mqtt_parser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of service via a series of specially crafted hexstreams.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de desbordamiento de búfer en la función get_var_integer en mqtt_parser.c en NanoMQ 0.21.7 permite a atacantes remotos provocar una denegación de servicio a través de una serie de hexstreams especialmente manipulados.","source":"nvd"}],"published":"2024-04-17T00:00:00.000Z","modified":"2026-06-17T07:27:42.647Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","score":2.7,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","score":2.7,"rating":"LOW"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"0.21.7","status":"affected"}],"vendor":"emqx","product":"nanomq","cpe":"cpe:2.3:a:emqx:nanomq:0.21.7:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"0.21.7"}],"vendor":"emqx","product":"nanomq","cpe":"cpe:2.3:a:emqx:nanomq:0.21.7:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nanomq/nanomq/issues/1720","tags":["exploit","issue-tracking","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-04-22T21:02:40.901Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31040","url":"https://www.cve.org/CVERecord?id=CVE-2024-31040","licence":"CVE Terms of Use","modified":"2024-08-02T01:46:04.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31040","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31040","licence":"Public domain","modified":"2026-06-17T07:27:42.647Z"}],"updatedAt":"2026-11-25T22:58:39.420Z","epss":{"score":0.00576,"percentile":0.48895,"date":"2026-12-01T12:00:22.000Z"}}