DEBIAN-CVE-2026-31969

Source
https://security-tracker.debian.org/tracker/CVE-2026-31969
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31969.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-31969
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. When reading data encoded using the BYTE_ARRAY_STOP method, an out-by-one error in the cram_byte_array_stop_decode_char() function check for a full output buffer could result in a single attacker-controlled byte being written beyond the end of a heap allocation. Exploiting this bug causes a heap buffer overflow. If a user opens a file crafted to exploit this issue, it could lead to the program crashing, or overwriting of data and heap structures in ways not expected by 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-31969.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-31969.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-31969.json"