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.
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.17%
- Published
- Oct 22, 2026
- In the news
- 1 story
What to do
A serious memory corruption flaw in Heasarc Cfitsio that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Heasarc Cfitsio
- Through 4.7.0
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 products
Get alerts for these →Timeline 8
Latest change: USN-9302-1: CFITSIO vulnerabilities (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
- AdvisoryUSN-9302-1: CFITSIO vulnerabilitiesUbuntu · 15:06 UTC
Mon, Nov 9, 2026
Tue, Nov 3, 2026
Wed, Oct 28, 2026
Mon, Oct 26, 2026
Thu, Oct 22, 2026
- CVECVE-2026-115504 published (CVSS 7.8)CVE Program · 20:17 UTC
References 5
- gist.github.com /yure1432/98f15c7e8f48dc90ae65646f926aa176
- github.com /HEASARC/cfitsio
- github.com /HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686
- github.com /HEASARC/cfitsio/pull/184
- www.vulncheck.com /advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c