CVE-2026-37555: n/a
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.
AI Analysis
Technical Summary
In libsndfile version 1.2.2, the IMA ADPCM codec's WAV code path improperly handles multiplication of samplesperblock and blocks as 32-bit integers. When the product exceeds the maximum 32-bit integer value (INT_MAX), an integer overflow occurs before assigning the result to sf.frames, which is a 64-bit integer type. This overflow leads to an incorrect frame count, potentially causing a heap buffer overflow or denial of service. The values samplesperblock and blocks are derived from the WAV file header and can be controlled by an attacker. This vulnerability was discovered after an incomplete fix addressing a related issue (CVE-2022-33065) in the AIFF code path.
Potential Impact
An attacker can craft a malicious WAV file with specially crafted header values to trigger an integer overflow in the multiplication of samplesperblock and blocks. This results in an incorrect frame count that can cause a heap buffer overflow or denial of service when the file is processed by libsndfile 1.2.2. This may lead to application crashes or potential memory corruption. There is no information indicating known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted or malicious WAV files with libsndfile 1.2.2. Monitor vendor channels for updates addressing this integer overflow vulnerability.
CVE-2026-37555: n/a
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In libsndfile version 1.2.2, the IMA ADPCM codec's WAV code path improperly handles multiplication of samplesperblock and blocks as 32-bit integers. When the product exceeds the maximum 32-bit integer value (INT_MAX), an integer overflow occurs before assigning the result to sf.frames, which is a 64-bit integer type. This overflow leads to an incorrect frame count, potentially causing a heap buffer overflow or denial of service. The values samplesperblock and blocks are derived from the WAV file header and can be controlled by an attacker. This vulnerability was discovered after an incomplete fix addressing a related issue (CVE-2022-33065) in the AIFF code path.
Potential Impact
An attacker can craft a malicious WAV file with specially crafted header values to trigger an integer overflow in the multiplication of samplesperblock and blocks. This results in an incorrect frame count that can cause a heap buffer overflow or denial of service when the file is processed by libsndfile 1.2.2. This may lead to application crashes or potential memory corruption. There is no information indicating known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted or malicious WAV files with libsndfile 1.2.2. Monitor vendor channels for updates addressing this integer overflow vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-06T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f22c80cbff5d8610297c55
Added to database: 4/29/2026, 4:06:24 PM
Last enriched: 4/29/2026, 4:22:50 PM
Last updated: 4/30/2026, 3:49:24 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.