Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176
- https://github.com/HEASARC/cfitsio
- https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c1886
- https://github.com/HEASARC/cfitsio/pull/184
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-v
FAQ
What is CVE-2026-115504?
CVE-2026-115504 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2026-115504?
CVE-2026-115504 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-115504?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.