DEBIAN-CVE-2026-31968

Source
https://security-tracker.debian.org/tracker/CVE-2026-31968
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31968.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-31968
Upstream
Published
2026-03-18T20:16:21Z
Modified
2026-09-14T17:03:29Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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 using a variety of encodings and compression methods. For the VARINT and CONST encodings, incomplete validation of the context in which the encodings were used could result in up to eight bytes being written beyond the end of a heap allocation, or up to eight bytes being written to the location of a one byte variable on the stack, possibly causing the values to adjacent variables to change unexpectedly. Depending on the data stream this could result either in a heap buffer overflow or a stack overflow. If a user opens a file crafted to exploit this issue it could lead to the program crashing, overwriting of data structures on the heap or stack in ways not expected by the program, or changing the control flow of the program. It may be possible to use this to obtain arbitrary code execution. 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-31968.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-31968.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-31968.json"