DEBIAN-CVE-2026-31967

Source
https://security-tracker.debian.org/tracker/CVE-2026-31967
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31967.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-31967
Upstream
Published
2026-03-18T20:16:21Z
Modified
2026-09-14T17:03:29Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

HTSlib is a library for reading and writing bioinformatics file formats. CRAM is a compressed format which stores DNA sequence alignment data. In the cram_decode_slice() function called while reading CRAM records, the value of the mate reference id field was not validated. Later use of this value, for example when converting the data to SAM format, could result in the out of bounds array reads when looking up the corresponding reference name. If the array value obtained also happened to be a valid pointer, it would be interpreted as a string and an attempt would be made to write the data as part of the SAM record. This bug may allow information about program state to be leaked. It may also cause a program crash through an attempt to access invalid memory. Versions 1.23.1, 1.22.2 and 1.21.1 include fixes for this issue. There is no workaround for this issue.

References

Affected packages

Debian:12 / htslib

Package

Name
htslib
Purl
pkg:deb/debian/htslib?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.16+ds-3
1.17+ds-0+exp1
1.17+ds-1
1.18+ds-0+exp1
1.18+ds-1
1.19+ds-0+exp0
1.19+ds-1
1.19+ds-1+exp1
1.19+ds-1.1
1.20+ds-1
1.20+ds-2
1.21+ds-0+exp1
1.21+ds-0+exp2
1.21+ds-1
1.22.1+ds-1
1.22.1+ds-2
1.22.1+ds2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31967.json"

Debian:13 / htslib

Package

Name
htslib
Purl
pkg:deb/debian/htslib?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.21+ds-1
1.22.1+ds-1
1.22.1+ds-2
1.22.1+ds2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31967.json"

Debian:14 / htslib

Package

Name
htslib
Purl
pkg:deb/debian/htslib?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.21+ds-1
1.22.1+ds-1
1.22.1+ds-2
1.22.1+ds2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31967.json"