CVE-2026-115504
CFITSIO through 4.7.0 contains an out-of-bounds write vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- 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-getc
- nvd.nist.gov/vuln/detail/CVE-2026-115504
- cve.org/CVERecord?id=CVE-2026-115504
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.