CVE-2026-115504
CVE-2026-115504 · CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.5 · High · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
cfitsio
- Versions
- ≥ 0, ≤ 4.7.0: Affected (semver)
No fix published
cfitsio Debian:12
- Versions
- 4.2.0-3
- 4.3.0-1
- 4.3.0-2
- 4.3.1-1
- 4.3.1-1.1
- 4.3.1-1.1~exp1
- 4.4.1-1
- 4.4.1-2
- 4.5.0-1
- 4.5.0-2
- 4.5.0-3
- 4.5.0-4
- 4.5.0-5
- 4.6.2-1
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:13
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:14
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176
- https://github.com/HEASARC/cfitsio/pull/184
- https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686
- https://github.com/HEASARC/cfitsio
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c
- https://nvd.nist.gov/vuln/detail/CVE-2026-115504