CVE-2025-52194
NoneCVSS
—
EPSS
0.7%
Published
Aug 21, 2025
CISA due date
—
Cloudanix analysis
A problem in certain audio-handling software could let attackers take control of a computer if it processes a specially made sound file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in ircam_read_header at src/ircam.c:164 while processing sample rate data from malformed IRCAM files, resulting in memory corruption that may allow arbitrary code execution.
Why it matters to the business
Applications that parse untrusted audio files face risk of remote code execution; organizations using affected Chainguard OpenJDK packages must apply updates promptly to avoid compromise of systems handling media content.
How an attack unfolds
An attacker crafts a malicious IRCAM audio file that triggers the overflow during header parsing, then delivers the file to a vulnerable application; successful exploitation corrupts memory and can lead to shellcode execution without user interaction beyond file processing.
How to fix it
Upgrade affected Chainguard packages to the fixed versions: openjdk-8-openj9, openjdk-8-openj9-dbg, openjdk-8-openj9-default-jdk, openjdk-8-openj9-default-jvm, openjdk-8-openj9-doc, and openjdk-8-openj9-jre all fixed in 0.53.0-r1; rebuild or redeploy containers with the patched versions and verify no older libsndfile remains in images.
How to confirm the fix worked
Confirm package versions match or exceed the listed fixed releases, scan container images for libsndfile 1.2.2 or earlier, and test that malformed IRCAM files no longer cause crashes or unexpected behavior.
Typical attack path
- Identify target application that uses libsndfile to read IRCAM files
- Generate malformed IRCAM file exploiting the sample-rate buffer overflow
- Deliver file via download, email attachment, or shared storage
- Trigger file processing in the vulnerable library
- Achieve memory corruption and execute attacker-controlled code
How to detect it
Review application logs for crashes or errors during IRCAM file parsing; inspect process memory dumps or core files for signs of heap or stack corruption around audio header processing; correlate file ingestion events with subsequent anomalous process behavior.
What your security team should do
- Apply the 0.53.0-r1 updates to all listed Chainguard OpenJDK packages within standard change windows given low EPSS and absence from KEV
- Add libsndfile version checks to container build pipelines and SBOM reviews
- Restrict processing of untrusted audio formats until patches are deployed
- Monitor for new exploit maturity indicators over the next 30 days
The record
A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malformed IRCAM audio files. The vulnerability occurs in the ircam_read_header function at src/ircam.c:164 during sample rate processing, leading to memory corruption and potential code execution.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libsndfile | 0 | No fix |
| Debian:12 | libsndfile | 0 | No fix |
| Debian:13 | libsndfile | 0 | No fix |
| Debian:14 | libsndfile | 0 | No fix |
| openSUSE:Tumbleweed | libsndfile | 0 | 1.2.2-5.1 |
Related vulnerabilities
- CVE-2024-50612 libsndfile through 1.2.2 has an ogg_vorbis.c vorbis_analysis_wrote out-of-bounds read. Also affects libsndfile
- CVE-2024-50613 libsndfile through 1.2.2 has a reachable assertion, that may lead to application exit, in… Also affects libsndfile
- CVE-2022-33065 Multiple signed integers overflow in function au_read_header in src/au.c and in functions… Also affects libsndfile
- CVE-2021-4156 An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. Also affects libsndfile
- CVE-2017-14245 An out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may… Also affects libsndfile
- CVE-2017-12562 Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile… Also affects libsndfile
- CVE-2017-7585 In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can… Also affects libsndfile
- CVE-2015-7805 Heap-based buffer overflow in libsndfile 1.0.25 allows remote attackers to have… Also affects libsndfile