CVE-2026-115504
CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
HIGH 8.5EPSS 0.1%
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
- HEASARC · cfitsio
- CVSS v4.0 VULNCHECK
- 8.5 HIGH
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 - CVSS v3.1 VULNCHECK
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS
- 0.13% chance of exploitation in the next 30 days, 3rd percentile
- Published
- 2026-10-22
- Updated
- 2026-10-29
Proof-of-concept exploits (1)
CVE references
- HEASARC/cfitsioREFERENCE
- HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686REFERENCE
- HEASARC/cfitsio/pull/184REFERENCE
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls…REFERENCE