CVE-2019-12951
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a...
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
CVE-2019-12951- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
CVE-2019-12951- Updated
- 2026-11-02
EUVDEUVD-2019-4526 No score
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
EUVD-2019-4526- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hp76-j5v2-prm5 No score
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a...
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
GHSA-hp76-j5v2-prm5- Updated
- 2026-11-02
OSV
9.8
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
CVE-2019-12951- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-12951
9.8
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
DEBIAN-CVE-2019-12951- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-12951
9.8
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
- Record
UBUNTU-CVE-2019-12951- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
swupdateDebian:12 |
before 2021.04-1 | 2021.04-1 |
swupdateDebian:13 |
before 2021.04-1 | 2021.04-1 |
swupdateDebian:14 |
before 2021.04-1 | 2021.04-1 |
smplayerUbuntu:18.04:LTS |
All versions, plus listed versions 17.7.0~ds0-1build117.8.0~ds0-117.8.0~ds0-1build117.11.2~ds0-118.2.2~ds0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-12951 is a critical vulnerability (CVSS 9.8) in Cesanta Mongoose, published June 24, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.95%, the 80th percentile. Fixed in swupdate 2021.04-1.
References
github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb
github.com/cesanta/mongoose/releases/tag/6.15
nvd.nist.gov/vuln/detail/CVE-2019-12951
github.com/advisories/GHSA-hp76-j5v2-prm5
security-tracker.debian.org/tracker/CVE-2019-12951
ubuntu.com/security/CVE-2019-12951
cve.org/CVERecord?id=CVE-2019-12951