CVE Explorer
CVE-2026-31969
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 bu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"htslib","vendor":"samtools","versions":[{"status":"affected","version":"< 1.21.1"},{"status":"affected","version":">= 1.22, < 1.22.2"},{"status":"affected","version":"= 1.23"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/samtools/htslib/commit/88cdf69e4b83bb550ab4f6f7134892c2ad1978f4","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/commit/88cdf69e4b83bb550ab4f6f7134892c2ad1978f4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/references/1
{"name":"https://github.com/samtools/htslib/security/advisories/GHSA-q4cj-f4h5-fqgc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/samtools/htslib/security/advisories/GHSA-q4cj-f4h5-fqgc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:614bca583f4fe7424f1a9e5b55df083b3e4320a081f4933f842a8e53ebcfc1d5 · sha256:b239a8260680c97e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.