Buffer overflow in Cesanta Mongoose

CVE-2019-12951

An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.

Vulnerability class: Buffer Overflow

EPSS: 0.020 (78.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)

Frequently asked questions

What is CVE-2019-12951?
CVE-2019-12951 is a critical-severity vulnerability in Cesanta Mongoose, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2019-06-24.
How severe is CVE-2019-12951?
Critical severity. CVSS v3 base score is 9.8 out of 10.