Skip to main content
VulnerabilityPublished Updated

CVE-2026-31972: SAMtools is a program for reading, manipulating and writing bioinformatics file formats

Affects samtoolsSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.8 Critical · fixed in 1.21.1 : patch samtools as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.21.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10samtoolspkg:deb/ubuntu/samtools?arch=source&distro=stonkingOther threatsAffected
  • =1.22.1-1
Fixed in–
Ubuntu 26.04 LTSsamtoolspkg:deb/ubuntu/samtools?arch=source&distro=resoluteOther threatsAffected
  • =1.21-1
  • =1.22.1-1
Fixed in–
Ubuntu 25.10samtoolspkg:deb/ubuntu/samtools?arch=source&distro=questingOther threatsAffected
  • =1.21-1
Fixed in–
Ubuntu 24.04 LTSsamtoolspkg:deb/ubuntu/samtools?arch=source&distro=nobleOther threatsAffected
  • 1.17-1 – 1.19.2-1build2
6 affected builds
Fixed in–
Ubuntu 22.04 LTSsamtoolspkg:deb/ubuntu/samtools?arch=source&distro=jammyOther threatsAffected
  • =1.13-2
  • =1.13-4
Fixed in–
Ubuntu 20.04 LTSsamtoolspkg:deb/ubuntu/samtools?arch=source&distro=focalOther threatsAffected
  • 1.9-4 – 1.10-3
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

SAMtools is a program for reading, manipulating and writing bioinformatics file formats. The `mpileup` command outputs DNA sequences that have been aligned against a known reference. On each output line it writes the reference position, optionally the reference DNA base at that position (obtained from a separate file) and all of the DNA bases that aligned to that position. As the output is ordered by position, reference data that is no longer needed is discarded once it has been printed out. Under certain conditions the data could be discarded too early, leading to an attempt to read from a pointer to freed memory. This bug may allow information about program state to be leaked. It may also cause a program crash through an attempt to access invalid memory. This bug is fixed in versions 1.21.1 and 1.22. There is no workaround for this issue.

References

Community reviews

Loading reviews…