DEBIAN-CVE-2026-31973
SAMtools is a program for reading, manipulating and writing bioinformatics file formats. Starting in version 1.17, in the cram-size command, used to write information about how well CRAM files are compressed, a check to see if the `cram_decode_compression_header()` was missing. If the function returned an error, this could lead to a NULL pointer dereference. Exploiting this bug causes a NULL pointer dereference. Typically this will cause the program to crash. Versions 1.23.1, 1.22.2 and 1.21.1 include fixes for this issue. There is no workaround for this issue.
DEBIAN-CVE-2026-31973
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-31973
samtools
Source reference: /affected/0/package/name
- Affected versions
- 1.16.1-1
Source reference:
/affected/0/versions1.17-0+exp1Source reference:
/affected/0/versions1.17-1Source reference:
/affected/0/versions1.18-1Source reference:
/affected/0/versions1.19-1Source reference:
/affected/0/versions1.19.2-1Source reference:
/affected/0/versions1.20-1Source reference:
/affected/0/versions1.20-2Source reference:
/affected/0/versions1.20-3Source reference:
/affected/0/versions1.21-0+exp1Source reference:
/affected/0/versions1.21-1Source reference:
/affected/0/versions1.22.1-1Source reference:
/affected/0/versions1.24-1Source reference:
/affected/0/versions1.24-2Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
samtools
Source reference: /affected/1/package/name
- Affected versions
- 1.21-1
Source reference:
/affected/1/versions1.22.1-1Source reference:
/affected/1/versions1.24-1Source reference:
/affected/1/versions1.24-2Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
samtools
Source reference: /affected/2/package/name
- Affected versions
- 1.21-1
Source reference:
/affected/2/versions1.22.1-1Source reference:
/affected/2/versions1.24-1Source reference:
/affected/2/versions1.24-2Source 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": "samtools",
"purl": "pkg:deb/debian/samtools?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.16.1-1",
"1.17-0+exp1",
"1.17-1",
"1.18-1",
"1.19-1",
"1.19.2-1",
"1.20-1",
"1.20-2",
"1.20-3",
"1.21-0+exp1",
"1.21-1",
"1.22.1-1",
"1.24-1",
"1.24-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31973.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "samtools",
"purl": "pkg:deb/debian/samtools?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.21-1",
"1.22.1-1",
"1.24-1",
"1.24-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31973.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "samtools",
"purl": "pkg:deb/debian/samtools?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.21-1",
"1.22.1-1",
"1.24-1",
"1.24-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31973.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56779 · Revision 1
- Added to Heist Feed
- Publisher date