NULL Pointer Dereference in SAMtools Affects Bioinformatics Data Processing
CVE-2026-31973
6.9MEDIUM
What is CVE-2026-31973?
A vulnerability in SAMtools beginning with version 1.17 allows for a NULL pointer dereference when using the cram-size command due to a missing check in the cram_decode_compression_header() function. This could lead to unexpected crashes when handling CRAM files. Versions 1.23.1, 1.22.2, and 1.21.1 have addressed this issue with patches. Users are advised to upgrade to these versions to prevent disruptions in bioinformatics data management and processing.
Affected Version(s)
samtools >= 1.17, < 1.21.1 < 1.17, 1.21.1
samtools >= 1.22, < 1.22.2 < 1.22, 1.22.2
samtools = 1.23 = 1.23
