{"id":"CVE-2026-37555","details":"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.","modified":"2026-07-01T04:02:28.643499689Z","published":"2026-04-29T00:00:00Z","related":["ALSA-2026:19559","ALSA-2026:19560","ALSA-2026:19610","SUSE-SU-2026:1968-1","SUSE-SU-2026:1969-1","SUSE-SU-2026:21826-1","openSUSE-SU-2026:10730-1","openSUSE-SU-2026:20787-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/37xxx/CVE-2026-37555.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://gist.github.com/sgInnora/a5f5c19e4bf6f4fb74fab7b0ef2bfcc1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-37555.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19559"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19560"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19610"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:23221"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:23222"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:23223"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25092"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25198"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25227"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30078"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30087"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30089"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-37555"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/37xxx/CVE-2026-37555.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37555"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463856"},{"type":"REPORT","url":"https://github.com/libsndfile/libsndfile/issues/833"},{"type":"FIX","url":"https://github.com/libsndfile/libsndfile/commit/9a829113c88a51e57c1e46473e90609e4b7df151"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libsndfile/libsndfile","events":[{"introduced":"0"},{"fixed":"9a829113c88a51e57c1e46473e90609e4b7df151"}],"database_specific":{"cpe":"cpe:2.3:a:libsndfile_project:libsndfile:1.2.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.2.2"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["1.2.2","1.2.1","1.2.0","1.1.0","1.1.0beta2","1.1.0beta1","1.0.31","v1.0.30","v1.0.29","1.0.28","1.0.27","1.0.26","1.0.25"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-37555.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}