CVE-2026-62259HTSlib: Out-of-bounds read in HTSlib CRAM 4.0 reader due to improper validation of input
- 6.9MediumCVSS base score
- 0.54%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
HTSlib is a library for reading and writing bioinformatics file formats. Prior to 1.21.2, 1.22.3, 1.23.2, and 1.24, the experimental CRAM v4 functions cram_xpack_decode_char and cram_xrle_decode_char do not validate that attacker-controlled decode sizes remain within their expanded input arrays. Crafted CRAM data can therefore make either decoder read beyond the supplied input buffer, potentially disclosing process-state information or crashing the process through invalid memory access. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Medium6.9 | 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 |
| NVDNVD · Awaiting Analysis | 4.0 | Medium6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.54% · top 54% of all CVEs (20 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
References
References9
- https://github.com/samtools/htslib/security/advisories/GHSA-hg3g-v57p-459q (opens in a new tab)x_refsource_CONFIRM
- https://github.com/samtools/htslib/pull/2046 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/76147edc658e5c19cbae52ececf5e3af81e8998a (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/a1f929da9f207b099bfc1f5a74aee94fc0eeba6a (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395bad (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/releases/tag/1.21.2 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/releases/tag/1.22.3 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/releases/tag/1.23.2 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/releases/tag/1.24 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-130351 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-62259)Record last updated .