CVE-2014-9496
NoneCVSS
—
EPSS
0.6%
Published
Jan 16, 2015
CISA due date
—
Cloudanix analysis
A problem in how certain programs read sound files could let attackers crash those programs by feeding them specially made files.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds read in sd2_parse_rsrc_fork triggered by crafted map offset or rsrc marker values, resulting in denial of service.
Why it matters to the business
Applications processing untrusted audio files may crash, causing service interruptions; the packages are widely used in containerized environments so exposure scales with image adoption.
How an attack unfolds
An attacker supplies a malicious SD2 audio file containing invalid map offset or rsrc marker values; when an affected application parses the file using the vulnerable libsndfile code, the out-of-bounds read occurs and the process terminates.
How to fix it
Upgrade the affected packages to the versions containing the fix: keycloak-fips, keycloak-fips-bitnami-compat, keycloak-fips-policy-140-2, and keycloak-fips-policy-140-3 all fixed in 25.0.0-r0.
How to confirm the fix worked
Confirm the running package versions match or exceed the listed fixed releases and verify that SD2 parsing no longer triggers crashes on known malformed test files.
Typical attack path
- Obtain or craft an SD2 file with invalid map offset or rsrc marker
- Deliver the file to a target application that links against the vulnerable library
- Trigger file parsing through normal application workflows
- Observe process crash or denial of service
How to detect it
Review application or container logs for unexpected process terminations or segmentation faults while handling audio files; no specific post-exploitation artifacts are known for this older memory-safety issue.
What your security team should do
- Prioritize patching the listed Chainguard packages to 25.0.0-r0 or later within normal maintenance windows
- Scan container images for the vulnerable package versions and rebuild any that are affected
- Add the fixed versions to allowed image policies and CI gates
The record
The sd2_parse_rsrc_fork function in sd2.c in libsndfile allows attackers to have unspecified impact via vectors related to a (1) map offset or (2) rsrc marker, which triggers an out-of-bounds read.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | libsndfile | 0 | 1.0.25-9.1 |
| Debian:11 | libsndfile | 0 | 1.0.25-9.1 |
| Debian:12 | libsndfile | 0 | 1.0.25-9.1 |
| Debian:13 | libsndfile | 0 | 1.0.25-9.1 |
| Debian:6.0 | libsndfile | 0 | 1.0.21-3+squeeze2 |
| Debian:7 | libsndfile | 0 | 1.0.25-9.1+deb7u1 |
| Mageia:4 | libsndfile | 0 | 1.0.25-3.1.mga4 |
| Ubuntu:14.04:LTS | libsndfile | 0 | 1.0.25-7ubuntu2.1 |
| openSUSE:Tumbleweed | libsndfile | 0 | 1.0.26-2.4 |
| openSUSE:Tumbleweed | libsndfile-progs | 0 | 1.0.26-2.4 |
Related vulnerabilities
- 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-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-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