Vulnerability · Published Oct 22, 2026 · Assigned by VulnCheck
CVE-2026-115504CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
High 7.8
In plain English
A high-severity out-of-bounds write in cfitsio from HEASARC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 94.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cfitsio | no fix listed | DEBIAN-CVE-2026-115504 |
| Debian:13 | cfitsio | no fix listed | DEBIAN-CVE-2026-115504 |
| Debian:14 | cfitsio | no fix listed | DEBIAN-CVE-2026-115504 |
| Ubuntu:22.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-115504 |
| Ubuntu:24.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-115504 |
| Ubuntu:26.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-115504 |
| Ubuntu:26.10 | cfitsio | no fix listed | UBUNTU-CVE-2026-115504 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176 technical-description, exploit
- https://github.com/HEASARC/cfitsio/pull/184 patch, issue-tracking
- https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686 patch
- https://github.com/HEASARC/cfitsio product
- VulnCheck Advisory: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c third-party-advisory