CVE-2026-62255HTSlib: Heap write overflow in HTSlib CRAM index handling
- 7.1HighCVSS base score
- 0.61%Exploitation in 30 daysEPSS · top 50% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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, cram_index_load does not verify that the number of reference sequences in a CRAM .crai index does not exceed the CRAM header reference count. A malformed index can drive unbounded index-array allocation, and when the number of references in the index is within two of INT_MAX, the growth calculation can wrap, read beyond a heap buffer, and use the resulting value as a pointer for an unchecked memory write. Any region query can trigger the flaw, causing denial of service or memory corruption. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/samtools/htslib/pull/2029 (opens in a new tab)x_refsource_MISCexploit
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
Public exploit appeared
A proof of concept or exploit was 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 | High7.1 | 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 |
| NVDNVD · Awaiting Analysis | 4.0 | High7.1 | 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/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.61% · top 50% of all CVEs (20 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
References
References10
- https://github.com/samtools/htslib/security/advisories/GHSA-28r7-prwc-hf5c (opens in a new tab)x_refsource_CONFIRM
- https://github.com/samtools/htslib/pull/2029 (opens in a new tab)x_refsource_MISCexploit
- https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11d (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65 (opens in a new tab)x_refsource_MISC
- https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22f (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-130352 (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-62255)Record last updated .