CVE Tools

CVE-2017-9872

Published: Jun 25, 2017Updated: May 13, 2026 Sources: CVE List NVD BDUCWE-119

Description

The III_dequantize_sample function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and other products, allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted audio file.

In plain language

AI Worth attention

A flaw in how some MP3-related software decodes audio can let a remote attacker crash your app when a user opens a specially crafted audio file; if you use affected LAME/libmpgdecoder builds, you should update.

Executive summary

CVE-2017-9872 is a stack-based buffer overflow in the mpg decoder (mpglib’s III_dequantize_sample) as packaged in libmpgdecoder.a used by LAME 3.99.5 and other products; a crafted audio file can trigger a crash when the file is opened.

If affected, business impact
Service crash / outageDenial of service riskLoss of availability for audio featuresPotential follow-on compromise risk

What to do now

  1. Check whether your installed LAME/libmpgdecoder comes from LAME 3.99.5 (or is linked against libmpgdecoder.a that includes the vulnerable mpg decoder code).
  2. If you find it’s affected, plan an upgrade to LAME 3.100-2 (or a later version).
  3. For Debian systems, upgrade the corresponding LAME package to the fixed version provided by your Debian updates.
  4. After upgrading, test your audio/file-processing paths with normal files and watch for crashes when decoding MP3s.
Some work to apply

CVSS Vector Breakdown

AV:LAC:LPR:NUI:RS:UC:HI:HA:H
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

3 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

and 5 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2017-9872 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows