← Vulnerability feed

Vulnerability record · CVE-2026-37555 · published 29 April 2026

CVE-2026-37555: Libsndfile project libsndfile integer overflow vulnerability

LLibsndfile Project · Libsndfile

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.

7.5 CVSS 3.1 High EPSS 0.85% · top 43.6% CWE-190 · Integer overflow
7.5CVSS 3.1 base score
0.85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
21References, 1 tagged exploit
15 Jul 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-37555 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2017-12562Libsndfile project libsndfile memory buffer overflow vulnerabilityHeap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote attackers to cause a denial of…EPSS 4.0%8.8CVE-2021-3246Libsndfile project libsndfile out-of-bounds write vulnerabilityA heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.EPSS 3.3%8.8CVE-2018-13139Libsndfile project libsndfile out-of-bounds write vulnerabilityA stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash)…EPSS 3.6%8.8CVE-2017-6892Libsndfile project libsndfile memory buffer overflow vulnerabilityIn libsndfile version 1.0.28, an error in the "aiff_read_chanmap()" function (aiff.c) can be exploited to cause an out-of-bounds read memory access v…EPSS 2.5%8.8CVE-2017-8361Libsndfile project libsndfile memory buffer overflow vulnerabilityThe flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (buffer overflow and application cr…EPSS 3.9%8.1CVE-2018-19662Libsndfile project libsndfile out-of-bounds read vulnerabilityAn issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2alaw_array in alaw.c that will lead to a denial of servic…EPSS 2.3%8.1CVE-2017-14245Libsndfile project libsndfile out-of-bounds read vulnerabilityAn out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, relate…EPSS 2.0%8.1CVE-2017-14246Libsndfile project libsndfile out-of-bounds read vulnerabilityAn out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, relate…EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2026-37555), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.