What’s Vulnerable › Vulnerabilities
CVE-2026-115504: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-22 · updated 2026-10-29
- Weakness: CWE-787
Description
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.
Affected products
- HEASARC cfitsio: through 4.7.0
References
- https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176
- https://github.com/HEASARC/cfitsio
- https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686
- https://github.com/HEASARC/cfitsio/pull/184
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c
Get alerted when CVE-2026-115504 or the next vulnerability affects your stack