Buffer overflow in Heasarc Cfitsio
CVE-2026-115504
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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176 (technical-description, exploit)
- github.com/HEASARC/cfitsio/pull/184 (issue-tracking, patch)
- github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686 (patch)
- github.com/HEASARC/cfitsio (product)
- www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgc… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-115504?
- CVE-2026-115504 is a high-severity vulnerability in Heasarc Cfitsio, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2026-10-22.
- How severe is CVE-2026-115504?
- High severity. CVSS v3 base score is 7.8 out of 10.