CVE-2026-37555
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
In libsndfile 1.2.2 IMA ADPCM codec, an integer overflow occurs when multiplying samplesperblock and blocks in the WAV code path, leading to incorrect frame count. An attacker can exploit this via a crafted WAV file to cause heap buffer overflow or denial of service.
Risk Assessment
The organization risks remote code execution or application crash when processing WAV audio files with libsndfile, potentially compromising system integrity or causing service disruption.
Recommendation
Immediately update libsndfile to a version with the complete fix for CVE-2026-37555, covering both WAV and close paths. Until then, restrict processing of untrusted WAV files.
Other vulnerabilities in libsndfile
See all- CVE-2017-14246High
An out of bounds read in the function d2ulaw_array() in libsndfile version 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.
- CVE-2017-14245High
An out of bounds read in the function d2alaw_array() in libsndfile version 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.
- CVE-2017-6892High
In version 1.0.28 of the libsndfile library, there is an error in the 'aiff_read_chanmap()' function that can be exploited to cause an out-of-bounds read memory access via a specially crafted AIFF file.
- CVE-2017-8361High
The flac_buffer_copy function in flac.c in libsndfile version 1.0.28 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted audio file.
- CVE-2015-7805High
A heap-based buffer overflow in libsndfile version 1.0.25 allows remote attackers to exploit the headindex value in the header of an AIFF file.
- CVE-2017-12562Critical
Heap-based buffer overflow in the psf_binheader_writef function in common.c in libsndfile through version 1.0.28 allows remote attackers to cause application crashes or possibly have unspecified other impacts.
Original NVD description (English source)
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.

