---
title: "CVE-2019-12951\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2019-12951?format=md
keywords: index, follow
---

# CVE-2019-12951

Publication date 24 June 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2019-12951?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2019-12951?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| smplayer | 19.04 disco | Ignored |
| 18.10 cosmic | Ignored end of life |
| 18.04 LTS bionic | Ignored |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2019-12951?format=md#patch-details)

## Notes

---

### [alexmurray](https://launchpad.net/~alexmurray)

smplayer in >= bionic contains an embedded copy of mongoose

---

### [ebarretto](https://launchpad.net/~ebarretto)

smplayer embeds a copy, which is unused in any released version and
disabled since 18.5.0~ds1-1

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| smplayer | * Upstream:   [b3e0f78](https://github.com/cesanta/mongoose/commit/b3e0f780c34cea88f057a62213c012aa88fe2deb) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12951)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-12951)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2019-12951)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2019-12951)

### Other references

* <https://github.com/cesanta/mongoose/releases/tag/6.15>
* <https://www.cve.org/CVERecord?id=CVE-2019-12951>
