patchminder
No public exploit found CVE-2026-62257

Code executionin samtools htslib.

Published 19 Nov 2026 · Updated 24 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 8.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.21.2, 1.22.3, 1.23.2
In plain words

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 XPACK and XRLE decoders cache expanded block pointers at indexes beyond the 512-element slice->block_by_id array. An array index partially controlled by data in the input file first causes an out-of-bounds read to determine whether a block is cached; a null value then causes allocation of a block and an out-of-bounds pointer write to the same element. The invalid read may crash the process, while the write may corrupt heap state and could permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.

What to do now
  • Upgrade htslib to 1.21.2, 1.22.3, 1.23.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
htslib
before 1.21.2
1.21.2
CVE record
htslib
1.22.0 to before 1.22.3
1.22.3
CVE record
htslib
1.23.0 to before 1.23.2
1.23.2
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Jul 2026
    CVE ID reserved by GitHub_M.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 24 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other htslib vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-62257: Code execution in samtools htslib. https://patchminder.com/cve/cve-2026-62257/ (accessed 5 December 2026).