{"id":"CVE-2026-115504","published":"2026-10-22T19:14:04Z","modified":"2026-10-29T02:35:24Z","title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","vendor":"HEASARC","product":"cfitsio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00196,"percentile":0.0535,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","tags":["technical-description","exploit"]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","tags":["patch","issue-tracking"]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","tags":["patch"]},{"url":"https://github.com/HEASARC/cfitsio","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","tags":["third-party-advisory"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"heasarc","affectedVersions":[{"vendor":"HEASARC","product":"cfitsio","versions":["<= 4.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T02:35:13.846497Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-108336","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176"]}