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 1.2.2, the WAV code path in the IMA ADPCM codec performs a 32-bit multiplication of samplesperblock and blocks, both integers derived from the WAV file header. When the product exceeds INT_MAX, the multiplication overflows before being assigned to sf.frames, a 64-bit variable, resulting in an incorrect frame count. For example, samplesperblock=50000 and blocks=50000 produce a product of 2,500,000,000, which overflows to a negative value in 32-bit arithmetic. This incorrect frame count can lead to a heap buffer overflow or denial of service. The AIFF code path was fixed with a cast to 64-bit, but the WAV path and close path remain vulnerable. This vulnerability is a consequence of an incomplete fix for CVE-2022-33065.
Potential Impact
An attacker can craft a malicious WAV file with specially crafted header values to trigger a 32-bit integer overflow in the multiplication of samplesperblock and blocks. This causes an incorrect frame count leading to heap buffer overflow or denial of service in applications using libsndfile 1.2.2. The vulnerability does not affect confidentiality or integrity directly but impacts availability and memory safety, potentially causing crashes or exploitation through memory corruption.
Mitigation Recommendations
Red Hat has released security updates for libsndfile version 1.2.2 in Red Hat Enterprise Linux 10.0 Extended Update Support that address this integer overflow vulnerability. Users should apply the official Red Hat security updates as detailed in the advisory (RHSA-2026:25092) to remediate this issue. Patch status is confirmed by the vendor advisory. No alternative mitigations are specified; applying the vendor-provided update is the recommended action.
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/libsndfile/libsndfileRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In libsndfile 1.2.2, the WAV code path in the IMA ADPCM codec performs a 32-bit multiplication of samplesperblock and blocks, both integers derived from the WAV file header. When the product exceeds INT_MAX, the multiplication overflows before being assigned to sf.frames, a 64-bit variable, resulting in an incorrect frame count. For example, samplesperblock=50000 and blocks=50000 produce a product of 2,500,000,000, which overflows to a negative value in 32-bit arithmetic. This incorrect frame count can lead to a heap buffer overflow or denial of service. The AIFF code path was fixed with a cast to 64-bit, but the WAV path and close path remain vulnerable. This vulnerability is a consequence of an incomplete fix for CVE-2022-33065.
Potential Impact
An attacker can craft a malicious WAV file with specially crafted header values to trigger a 32-bit integer overflow in the multiplication of samplesperblock and blocks. This causes an incorrect frame count leading to heap buffer overflow or denial of service in applications using libsndfile 1.2.2. The vulnerability does not affect confidentiality or integrity directly but impacts availability and memory safety, potentially causing crashes or exploitation through memory corruption.
Mitigation Recommendations
Red Hat has released security updates for libsndfile version 1.2.2 in Red Hat Enterprise Linux 10.0 Extended Update Support that address this integer overflow vulnerability. Users should apply the official Red Hat security updates as detailed in the advisory (RHSA-2026:25092) to remediate this issue. Patch status is confirmed by the vendor advisory. No alternative mitigations are specified; applying the vendor-provided update is the recommended action.
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
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-37555","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25092","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19560","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19559","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25197","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25198","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25227","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23221","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23222","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23223","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19610","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30078","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30087","vendor":"Red Hat"}]
Threat ID: 69f22c80cbff5d8610297c55
Added to database: 04/29/2026, 16:06:24 UTC
Last enriched: 07/15/2026, 08:11:55 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 143
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.