CVE-2017-12839 json
A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause…
published 2019-05-09 7 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4376
- cvss
- 8.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.
Patch / fix
- mpg123 Debian 14, Debian 13, Debian 12 1.25.6-1
debian advisories DEBIAN-CVE-2017-12839
- mpg123 Ubuntu Pro 14.04 LTS 1.16.0-1ubuntu1.1+esm2
- mpg123 Ubuntu Pro 16.04 LTS 1.22.4-1ubuntu0.1+esm2
ubuntu advisories UBUNTU-CVE-2017-12839
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12839 updated cvss 5.9
mpg123: heap-based buffer over-read in function getbits insrc/libmpg123/getbits.h
-
Red Hat Enterprise Linux 7 mpg123, mpg123-libs, mpg123-plugins-pulseaudio Red Hat Enterprise Linux 8 mpg123, mpg123-libs, mpg123-plugins-pulseaudionot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.81% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/mpg123/bugs/255/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
mpg123.de
/cgi-bin/scm/mpg123/trunk/src/libmpg123/getbits.h?r1=2024&r2=4323&sortby=date
patch, vendor-advisory
-
sourceforge.net
/p/mpg123/bugs/255/
exploit, third-party-advisory
-
mpg123.de
/
product, vendor-advisory
Sources
- CVE List CVE-2017-12839
- NVD CVE-2017-12839
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.