Application crash via crafted RIFF-to-MP3 conversion
Published Oct 27, 2024 · Updated Oct 30, 2024
Reachable assertion in MP3 encoding in libsndfile 1.2.2 and earlier allows context-dependent attackers to crash an application via a crafted RIFF file. The mpeg_l3_encode.c encoding path passes attacker-shaped audio into libmp3lame, where calc_energy's el >= 0 assertion fails and aborts the process. MP3 encoding must be enabled through LAME, and a consuming application must convert attacker-controlled audio; no data access or code execution is reported.
Summary
What happened
Reachable assertion in MP3 encoding in libsndfile 1.2.2 and earlier allows context-dependent attackers to crash an application via a crafted RIFF file. The mpeg_l3_encode.c encoding path passes attacker-shaped audio into libmp3lame, where calc_energy's el >= 0 assertion fails and aborts the process. MP3 encoding must be enabled through LAME, and a consuming application must convert attacker-controlled audio; no data access or code execution is reported.
The record
- CVE
- CVE-2024-50613
- Published
- Oct 27, 2024
- Updated
- Oct 30, 2024
- Vendor
- libsndfile Project
- Product
- libsndfile
- Classifications
- CWE-617
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 27, 2024CVE publishedPublication date reported by the CVE source.
- Oct 30, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.2.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Crafted RIFF assertion proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo