Skip to main content
No exploitation reportedFix available

CVE-2024-10573

Mpg123: buffer overflow when writing decoded pcm samples

No exploitation reported by the sources we read.

  • Published2024-10-31
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

An out-of-bounds write flaw was found in mpg123 when handling crafted streams. When decoding PCM, the libmpg123 may write past the end of a heap-located buffer. Consequently, heap corruption may happen, and arbitrary code execution is not discarded. The complexity required to exploit this flaw is considered high as the payload must be validated by the MPEG decoder and the PCM synth before execution. Additionally, to successfully execute the attack, the user must scan through the stream, making web live stream content (such as web radios) a very unlikely attack vector.

Timeline

dates in UTC
  1. 2024-10-3118:31CVE publishedCNA

Versions per branch

Products declared by the CNA4 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • mpg123Ubuntu:Pro:16.04:LTSall versions · no fixed version listed
  • mpg123Ubuntu:Pro:14.04:LTSall versions · no fixed version listed
  • mpg123Ubuntu:24.04:LTSall versions · fixed in 1.32.5-1ubuntu1.1
  • mpg123Ubuntu:22.04:LTSall versions · fixed in 1.29.3-1ubuntu0.1
  • mpg123Ubuntu:20.04:LTSall versions · fixed in 1.25.13-1ubuntu0.2
  • mpg123Ubuntu:20.04:LTSall versions · fixed in 1.25.13-1ubuntu0.1
  • mpg123Ubuntu:18.04:LTSall versions · no fixed version listed
  • mpg123TuxCare:AlmaLinux:9.2all versions · fixed in 1.26.2-5.el9_2.tuxcare.els1and 3 other packages

19 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-10573 Red Hat Product Security118 products fixed · 4 known affected

    mpg123: Buffer overflow when writing decoded PCM samples

    mpg123-devel as a component of Red Hat Enterprise Linux 7 · mpg123-libs as a component of Red Hat Enterprise Linux 7 · mpg123-plugins-pulseaudio as a component of Red Hat Enterprise Linux 7 · +1 more

  • RHSA-2024:11242 Red Hat Product Security59 products fixed

    Red Hat Security Advisory: mpg123:1.32.9 security update

  • RHSA-2024:11193 Red Hat Product Security59 products fixed

    Red Hat Security Advisory: mpg123 security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2024:11242 · 59 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2024:11242 · 59 productsThis vulnerability can be mitigated by using the --no-frankenstein option to the mpg123 application.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2024-10573 · 4 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
2024-10-31
Last modified
2026-11-05
NVD status
Deferred
GitHub advisory
GHSA-7m7j-pgpw-9g75

Frequently asked questions

What is CVE-2024-10573?

An out-of-bounds write flaw was found in mpg123 when handling crafted streams. When decoding PCM, the libmpg123 may write past the end of a heap-located buffer. Consequently, heap corruption may happen, and arbitrary code execution is not discarded. The complexity required to exploit this flaw is considered high as the payload must be validated by the MPEG decoder and the PCM synth before execution. Additionally, to successfully execute the attack, the user must scan through the stream, making web live stream content (such as web radios) a very unlikely attack vector.

Is CVE-2024-10573 actively exploited?

Active exploitation of CVE-2024-10573 has not been confirmed. Its EPSS score was 0.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-10573?

CVE-2024-10573 has a CVSS v3 base score of 6.7 (Medium severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.

Running mpg123? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record