Skip to content
NewA calmer, faster ZeroHour

CVE-2026-115504

Out-of-bounds write in CFITSIO via crafted FITS

CVSS 4.0
8.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-115504 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

CFITSIO through 4.7.0 has an out-of-bounds write in ffgcls2() in getcols.c. The function trusts attacker-controlled heap descriptor lengths for variable-length string columns. A person who opens a crafted FITS file locally can overflow a fixed 28,800-byte stack buffer and the caller's string array, enabling arbitrary code execution. No fixed version is stated.

What to do: No fixed version is stated for CVE-2026-115504. CFITSIO through 4.7.0 remains affected.

ProductAffected
CFITSIOthrough 4.7.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

CFITSIO through 4.7.0 contains an out-of-bounds write vulnerability in ffgcls2() in getcols.c that trusts attacker-controlled heap descriptor lengths for variable-length string columns. Attackers can supply a crafted FITS file that overflows a fixed 28,800-byte stack buffer and the caller's string array, enabling arbitrary code execution.

Weakness
CWE-787
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

1 story