Impact
SAMtools’ mpileup command contains a use-after-free vulnerability (CWE-416). When reference data is discarded prematurely, the program may read from freed memory, leading to the disclosure of internal state or a program crash.
Affected Systems
The vulnerability affects the samtools:samtools product (CPE: cpe:2.3:a:samtools:samtools:*:*:*:*:*:*:*). Versions released before 1.21.1 (and prior to 1.22) are vulnerable; the issue has been fixed in releases 1.21.1 and 1.22 and later.
Risk and Exploitability
The CVSS score of 6.9 denotes moderate severity, while the EPSS score of less than 1% indicates a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need to supply crafted input to the mpileup command, implying that the attack vector most likely requires local or privileged user access to execute mpileup with malicious data.
OpenCVE Enrichment