{"id":"CVE-2026-115504","aliases":["CVE-2026-115504"],"related":[],"kind":"vulnerability","state":"published","title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-22T19:14:04.552Z","modified":"2026-10-29T04:18:28.327Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.7.0","status":"affected"}],"vendor":"HEASARC","product":"cfitsio","repo":"https://github.com/HEASARC/cfitsio","source":"cvelist"}],"references":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/HEASARC/cfitsio","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Pratyaksh Srivats"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-29T02:35:13.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115504","url":"https://www.cve.org/CVERecord?id=CVE-2026-115504","licence":"CVE Terms of Use","modified":"2026-10-29T02:35:24.229Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115504","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115504","licence":"Public domain","modified":"2026-10-29T04:18:28.327Z"}],"updatedAt":"2026-11-25T22:59:46.838Z","epss":{"score":0.00167,"percentile":0.06279,"date":"2026-12-01T12:00:22.000Z"}}