CVE-2026-37555
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Apr 29, 2026
CISA due date
—
Cloudanix analysis
A specially crafted audio file can crash software that uses a vulnerable audio-processing library, potentially disrupting services that handle uploaded or automated audio files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2026-37555 is an integer-overflow-to-buffer-overflow flaw in libsndfile 1.2.2's WAV IMA ADPCM handling. Attacker-controlled WAV header fields, specifically samples-per-block and block count, are multiplied as 32-bit integers before being stored in a 64-bit frame-count field. If the multiplication exceeds INT_MAX, the value wraps to a negative or otherwise incorrect frame count. Downstream parsing then operates with an invalid size calculation, which can cause heap buffer overflow or process termination. The most reliable impact is denial of service against applications that parse untrusted audio files with libsndfile; memory corruption is also possible depending on allocator behavior and the consuming application.
Why it matters to the business
Applications, media-processing services, upload pipelines, transcription tools, audio conversion jobs, and security products that process untrusted WAV files with the vulnerable libsndfile version can be crashed by a malformed file. In operational terms, this can interrupt audio ingestion, batch processing, content moderation, customer uploads, or any workflow that depends on automated audio parsing. Current public exploitation signals are low: EPSS is 0.00504 and stable over 30 days, there is no known CISA KEV listing, no ransomware association, and no known mature public exploit, but exposure is still important where untrusted audio files are processed automatically.
How an attack unfolds
An attacker creates a malformed WAV file using the IMA ADPCM codec and sets header-controlled values such as samples-per-block and block count so that their 32-bit multiplication overflows. For example, values around 50000 by 50000 produce a mathematical result larger than INT_MAX, but the vulnerable code computes the product in a 32-bit signed integer before assigning it to a 64-bit frame counter. The attacker then delivers the file to any application or service that uses libsndfile 1.2.2 to inspect, decode, convert, index, or otherwise process audio. When the file is parsed, libsndfile derives an incorrect frame count and later performs heap operations using inconsistent size assumptions, resulting in a crash or heap buffer overflow. Remote exploitation depends on whether a reachable application accepts and processes attacker-supplied WAV files without isolation.
How to fix it
Upgrade libsndfile as soon as an upstream or vendor-fixed release becomes available. No fixed version was provided in the supplied advisory data, so organizations should monitor the libsndfile project and operating-system package maintainers for corrected builds. Where source patching is possible, ensure all affected WAV IMA ADPCM code paths perform size calculations using sf_count_t or another safe wide type before multiplication, and add explicit overflow checks before assigning frame counts or allocating buffers. Until a fixed build is deployed, reduce exposure by rejecting or quarantining untrusted WAV IMA ADPCM files, validating WAV headers before parsing, disabling automatic processing of untrusted audio where feasible, running audio parsers in sandboxed or least-privilege workers, enforcing memory and CPU limits, and isolating conversion or metadata-extraction services from critical systems.
How to confirm the fix worked
Confirm whether deployed applications dynamically or statically link against libsndfile 1.2.2, including copies bundled inside application containers, desktop applications, media tools, language package wheels, and vendor appliances. Validate remediation by checking package versions from the operating-system package manager, container image bill of materials, application dependency manifests, and runtime library resolution output. If a vendor patch is applied, review that the WAV IMA ADPCM frame-count calculations include wide-type casting and overflow checks in every relevant path, not only the AIFF path. In test or staging environments, use a non-production malformed WAV sample that reproduces the oversized samples-per-block and block-count condition and verify that the parser rejects the file cleanly without crashing, corrupting memory, or producing sanitizer findings. Also confirm that file-upload controls or content filters block malformed IMA ADPCM WAV files if mitigation rather than full upgrade is being used.
Typical attack path
- Identify an application, service, or automated job that processes uploaded or externally supplied WAV audio using libsndfile 1.2.2.
- Craft a WAV file using IMA ADPCM encoding with malicious header values that cause samples-per-block multiplied by block count to exceed INT_MAX.
- Submit, upload, email, or otherwise place the malformed audio file where the vulnerable parser will process it.
- Trigger parsing through preview generation, metadata extraction, conversion, playback, indexing, scanning, or batch ingestion.
- Cause libsndfile to calculate an incorrect frame count, leading to heap memory corruption or process denial of service.
- Repeat submissions if the target automatically restarts the affected service, causing recurring outages or processing backlog.
How to detect it
Look for evidence of crashes or abnormal termination in applications that parse audio files with libsndfile, especially immediately after processing WAV files. Relevant sources include application logs, media-processing job logs, upload and conversion service logs, operating-system syslog or journald, Windows Application event logs, container restart events, crash dumps, core dumps, EDR telemetry, and sanitizer reports if the software is instrumented. Investigate repeated failures in audio conversion, metadata extraction, waveform generation, preview generation, or content scanning workflows where the triggering input is a WAV file using IMA ADPCM. File-level triage should inspect suspicious WAV headers for IMA ADPCM format and unusually large samples-per-block or block-count-derived values. Since there are no known public threat actors, KEV listing, ransomware campaigns, or mature exploit artifacts for this issue, detection should focus on behavioral evidence: parser crashes, heap corruption reports, abnormal worker restarts, and clusters of malformed WAV submissions from the same source. Preserve uploaded samples, request metadata, source IPs or accounts where applicable, processing timestamps, and crash artifacts for forensic correlation.
What your security team should do
- Inventory all systems, services, containers, and applications that process audio files and identify any use of libsndfile 1.2.2, including embedded or statically linked copies.
- Prioritize remediation for internet-facing upload services, automated media-processing pipelines, email/content scanning systems, and batch jobs that process files from untrusted users or third parties.
- Monitor upstream and vendor channels for a fixed libsndfile release; deploy fixed packages promptly when available, or backport the safe arithmetic and overflow-check patch where vendor timelines are not acceptable.
- Implement temporary controls to reject malformed WAV IMA ADPCM files or route untrusted audio processing into hardened sandbox workers with strict resource limits.
- Add crash and anomaly monitoring for services that call libsndfile, especially repeated crashes shortly after processing WAV files.
- Preserve suspicious audio samples and related processing logs when crashes occur so responders can determine whether the issue was triggered intentionally.
- Because current EPSS is low, stable, and there is no KEV listing or known ransomware use, treat this as a targeted availability and file-processing risk rather than an active mass-exploitation emergency, while still prioritizing exposed file-upload paths.
The record
An issue was discovered in libsndfile 1.2.2 IMA ADPCM codec. The AIFF code path (line 241) was fixed with (sf_count_t) cast, but the WAV code path (line 235) and close path (line 167) were not. When samplesperblock (int) * blocks (int) exceeds INT_MAX, the 32-bit multiplication overflows before being assigned to sf.frames (sf_count_t/int64). With samplesperblock=50000 and blocks=50000, the product 2500000000 overflows to -1794967296. This causes incorrect frame count leading to heap buffer overflow or denial of service. Both values come from the WAV file header and are attacker-controlled. This issue was discovered after an incomplete fix for CVE-2022-33065.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| openSUSE:Tumbleweed | libsndfile | 0 | 1.2.2-5.1 |
Related vulnerabilities
- CVE-2025-56226 Libsndfile <=1.2.2 contains a memory leak vulnerability in the mpeg_l3_encoder_init()… 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-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