DEBIAN-CVE-2026-37555
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.
DEBIAN-CVE-2026-37555
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-37555
libsndfile
Source reference: /affected/0/package/name
- Affected versions
- 1.2.0-1
Source reference:
/affected/0/versions1.2.0-1+deb12u1Source reference:
/affected/0/versions1.2.2-1Source reference:
/affected/0/versions1.2.2-1+hurd.1Source reference:
/affected/0/versions1.2.2-1+hurd.2Source reference:
/affected/0/versions1.2.2-1+hurd.3Source reference:
/affected/0/versions1.2.2-2Source reference:
/affected/0/versions1.2.2-3Source reference:
/affected/0/versions1.2.2-4Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libsndfile
Source reference: /affected/1/package/name
- Affected versions
- 1.2.2-2
Source reference:
/affected/1/versions1.2.2-2+deb13u1Source reference:
/affected/1/versions1.2.2-3Source reference:
/affected/1/versions1.2.2-4Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libsndfile
Source reference: /affected/2/package/name
- Affected versions
- 1.2.2-2
Source reference:
/affected/2/versions1.2.2-3Source reference:
/affected/2/versions1.2.2-4Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.2.0-1",
"1.2.0-1+deb12u1",
"1.2.2-1",
"1.2.2-1+hurd.1",
"1.2.2-1+hurd.2",
"1.2.2-1+hurd.3",
"1.2.2-2",
"1.2.2-3",
"1.2.2-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-37555.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.2.2-2",
"1.2.2-2+deb13u1",
"1.2.2-3",
"1.2.2-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-37555.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libsndfile",
"purl": "pkg:deb/debian/libsndfile?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.2.2-2",
"1.2.2-3",
"1.2.2-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-37555.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56861 · Revision 1
- Added to Heist Feed
- Publisher date