CVE-2017-9872

HIGH

LAME 3.99.5 - Stack-Based Buffer Overflow in III_dequantize_sample

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-9872. PoCs published by Agostino Sarubbo.

AI-analyzed exploit summary This exploit demonstrates a stack-based buffer overflow in the `III_dequantize_sample` function of LAME MP3 encoder version 3.99.5, triggered by a malformed MP3 file. The overflow occurs during MP3 decoding, leading to a crash and potential arbitrary code execution.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Agostino Sarubbo · textdoslinux
https://www.exploit-db.com/exploits/42259

This exploit demonstrates a stack-based buffer overflow in the `III_dequantize_sample` function of LAME MP3 encoder version 3.99.5, triggered by a malformed MP3 file. The overflow occurs during MP3 decoding, leading to a crash and potential arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: LAME MP3 Encoder 3.99.5
No auth needed
Prerequisites: A malformed MP3 file to trigger the overflow
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/99270
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42259/

Scores

CVSS v3 7.8
EPSS 0.0979
EPSS Percentile 94.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (1)
lame_project/lame 3.99.5
Published Jun 25, 2017
Tracked Since Feb 18, 2026