patchminder
No public exploit found CVE-2026-62258

Code executionin samtools htslib.

Published 19 Nov 2026 · Updated 19 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 CRAM decoder validates the 254-character query-name limit only after decoding the name into a 1024-byte stack array. An attacker-controlled CRAM record can provide an overlong query name and overflow the local stack buffer before the later validation runs; all CRAM format versions are affected. Opening such a file can crash the process, corrupt stack data, and may 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. 19 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: Stack-based buffer overflow

All CWE-121 vulnerabilities

References
Cite this page

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