CVE-2026-37555 in Libsndfile 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....
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libsndfile Project | Libsndfile | 1.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-37555 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151606-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-04-29 |
| Last modified | 2026-11-11 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability exists in the libsndfile 1.2.2 IMA ADPCM codec affecting the WAV and close code paths due to integer overflow in the calculation of samplesperblock * blocks.
An attacker can exploit this vulnerability by crafting a specially crafted WAV file with a large number of samples per block and blocks, causing an integer overflow. This can lead to a buffer overflow, potentially allowing for arbitrary code execution or denial of service.
Questions
What is CVE-2026-37555?
A buffer overflow vulnerability exists in the libsndfile 1.2.2 IMA ADPCM codec affecting the WAV and close code paths due to integer overflow in the calculation of samplesperblock * blocks.
What is the CVSS score for CVE-2026-37555?
CVE-2026-37555 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2026-37555 actively exploited?
No confirmed active exploitation of CVE-2026-37555 as of 2026-11-12.
How do I remediate CVE-2026-37555?
Priority: HIGH.
What systems are affected by CVE-2026-37555?
CVE-2026-37555 affects Libsndfile Project Libsndfile.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libsndfile Project","product":"Libsndfile","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.