{"id":"UBUNTU-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-06-30T18:17:59.992526693Z","published":"2026-04-29T16:16:00Z","upstream":["CVE-2026-37555"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-37555"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-37555"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/04/30/7"}],"affected":[{"package":{"name":"libsndfile","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1","1.0.25-7ubuntu2.2","1.0.25-7ubuntu2.2+esm1","1.0.25-7ubuntu2.2+esm2","1.0.25-7ubuntu2.2+esm3","1.0.25-7ubuntu2.2+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.0.25-7ubuntu2.2+esm4"},{"binary_version":"1.0.25-7ubuntu2.2+esm4","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.25-9.1","1.0.25-10","1.0.25-10ubuntu0.16.04.1","1.0.25-10ubuntu0.16.04.2","1.0.25-10ubuntu0.16.04.3","1.0.25-10ubuntu0.16.04.3+esm1","1.0.25-10ubuntu0.16.04.3+esm2","1.0.25-10ubuntu0.16.04.3+esm3","1.0.25-10ubuntu0.16.04.3+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.0.25-10ubuntu0.16.04.3+esm4"},{"binary_version":"1.0.25-10ubuntu0.16.04.3+esm4","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.28-4","1.0.28-4ubuntu0.18.04.1","1.0.28-4ubuntu0.18.04.2","1.0.28-4ubuntu0.18.04.2+esm1","1.0.28-4ubuntu0.18.04.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.0.28-4ubuntu0.18.04.2+esm2"},{"binary_version":"1.0.28-4ubuntu0.18.04.2+esm2","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.28-6","1.0.28-7","1.0.28-7ubuntu0.1","1.0.28-7ubuntu0.2","1.0.28-7ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.0.28-7ubuntu0.3"},{"binary_version":"1.0.28-7ubuntu0.3","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.31-2","1.0.31-2build1","1.0.31-2ubuntu0.1","1.0.31-2ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.0.31-2ubuntu0.2"},{"binary_name":"sndfile-programs","binary_version":"1.0.31-2ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.2.2-1ubuntu2","1.2.2-1ubuntu3","1.2.2-1ubuntu4","1.2.2-1ubuntu5","1.2.2-1ubuntu5.24.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.2.2-1ubuntu5.24.04.1"},{"binary_version":"1.2.2-1ubuntu5.24.04.1","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-2build1","1.2.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libsndfile1","binary_version":"1.2.2-3"},{"binary_name":"sndfile-programs","binary_version":"1.2.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-37555.json"}},{"package":{"name":"libsndfile","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libsndfile?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-3","1.2.2-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-4","binary_name":"libsndfile1"},{"binary_version":"1.2.2-4","binary_name":"sndfile-programs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}