CVE-2026-115504
8.5high
CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| HEASARC cfitsio | up to 4.7.0 | CVE List |
All scores
| VulnCheck | 8.5high CVSS:4.0 | 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 |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176 | exploit, technical-description | |
| https://github.com/HEASARC/cfitsio/pull/184 | issue-tracking, patch | |
| https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686 | patch | |
| https://github.com/HEASARC/cfitsio | product | |
| https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-115504 changed 2026-10-29 | CVE Terms of Use |
| NVD | CVE-2026-115504 changed 2026-10-29 | Public domain |