CVE-2026-115504
JSON

8.5high

CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
HEASARC cfitsioup to 4.7.0CVE List

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-115504 changed 2026-10-29CVE Terms of Use
NVDCVE-2026-115504 changed 2026-10-29Public domain