patchminder
No public exploit found CVE-2026-31968

Code executionin samtools htslib.

Published 18 Mar 2026 · Updated 18 Mar 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.5% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

HTSlib is a library for reading and writing bioinformatics file formats. CRAM is a compressed format which stores DNA sequence alignment data using a variety of encodings and compression methods. For the `VARINT` and `CONST` encodings, incomplete validation of the context in which the encodings were used could result in up to eight bytes being written beyond the end of a heap allocation, or up to eight bytes being written to the location of a one byte variable on the stack, possibly causing the values to adjacent variables to change unexpectedly. Depending on the data stream this could result either in a heap buffer overflow or a stack overflow.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
htslib
Not confirmed
Not confirmed
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. 10 Mar 2026
    CVE ID reserved by GitHub_M.
  2. 18 Mar 2026
    Published in the CVE List.
  3. 18 Mar 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-31968: Code execution in samtools htslib. https://patchminder.com/cve/cve-2026-31968/ (accessed 5 December 2026).