High severity · published Oct 22, 2026
CVE-2026-115504
CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
New
7.8
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CF
cfitsio · HEASARC
through 4.7.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-115504
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-115504
gist.github.com
https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176
github.com
https://github.com/HEASARC/cfitsio
github.com
https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686
github.com
https://github.com/HEASARC/cfitsio/pull/184
www.vulncheck.com
https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c
More from cfitsio
7.1
CVE-2026-111125
CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble
7.1
CVE-2026-111124
CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
