CVE Explorer
CVE-2026-31967
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 v
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-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-129","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/problemTypes/1/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:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-129","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/samtools/htslib/commit/9cefb46453ad471e933b8212d4f45920524d3357","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/commit/9cefb46453ad471e933b8212d4f45920524d3357"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /containers/cna/references/1
{"name":"https://github.com/samtools/htslib/security/advisories/GHSA-33x5-c6vj-8f2w","tags":["x_refsource_CONFIRM"],"url":"https://github.com/samtools/htslib/security/advisories/GHSA-33x5-c6vj-8f2w"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2fa862d6aa50f234ba029147a90ccb7398f4c5f2c0d2b798a6d97f080c6e905 · sha256:d7de7ca8aea755be… · /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.