{"id":"CVE-2026-115504","aliases":["AZL-110540","DEBIAN-CVE-2026-115504","EUVD-2026-108336","GHSA-wjcj-f49x-x56c","UBUNTU-CVE-2026-115504"],"status":"published","title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","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.","severity":{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00167,"percentile":0.06056,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2026-10-22T19:14:04Z","modified":"2026-11-05T05:36:30Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.0.0-5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.0-3","4.3.0-1","4.3.0-2","4.3.1-1","4.3.1-1.1","4.3.1-1.1~exp1","4.4.1-1","4.4.1-2","4.5.0-1","4.5.0-2","4.5.0-3","4.5.0-4","4.5.0-5","4.6.2-1","4.6.2-2","4.6.3-1","4.6.4-1","4.7.0-1","4.7.0-2"]},{"source":"osv","ecosystem":"Debian:13","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.2-2","4.6.3-1","4.6.4-1","4.7.0-1","4.7.0-2"]},{"source":"osv","ecosystem":"Debian:14","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.2-2","4.6.3-1","4.6.4-1","4.7.0-1","4.7.0-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.370-5"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.410-1","3.420-3","3.430-1","3.430-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.470-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.490-3","4.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.0-3","4.3.0-2","4.3.1-1","4.3.1-1.1build1","4.3.1-1.1build2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.3-1","4.6.4-1","4.7.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"cfitsio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.2-2","4.6.3-1"]}],"products":[{"vendor":"heasarc","product":"cfitsio"},{"vendor":"nasa","product":"cfitsio"}],"references":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","tags":["technical-description","exploit","evidence","report"]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","tags":["patch","issue-tracking","fix","report"]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","tags":["patch","fix","report"]},{"url":"https://github.com/HEASARC/cfitsio","tags":["product","package","report"]},{"url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115504","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-wjcj-f49x-x56c"},{"url":"https://github.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115504.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-115504","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-115504","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-115504","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-115504","title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","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.","status":"published","published":"2026-10-22T19:14:04.552Z","modified":"2026-10-29T02:35:24.229Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:20:01.618694Z"}],"euvd":[{"id":"EUVD-2026-108336","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.","status":"published","published":"2026-10-22T19:14:04Z","modified":"2026-10-29T02:35:24Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T16:59:18.059516Z"}],"ghsa":[{"id":"GHSA-wjcj-f49x-x56c","title":"CFITSIO through 4.7.0 contains an out-of-bounds write vulnerability in ffgcls2() in getcols.c...","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.","status":"published","published":"2026-10-22T21:32:50Z","modified":"2026-10-22T21:32:59Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:14:18.215402Z"}],"nvd":[{"id":"CVE-2026-115504","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.","status":"published","published":"2026-10-22T20:17:06.313Z","modified":"2026-10-29T04:18:28.327Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:13:02.724605Z"}],"osv":[{"id":"CVE-2026-115504","title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","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.","status":"published","published":"2026-10-22T19:14:04.552Z","modified":"2026-10-30T02:30:59.429792864Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:44:56.675758Z"},{"id":"DEBIAN-CVE-2026-115504","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.","status":"published","published":"2026-10-22T20:17:06.313Z","modified":"2026-10-29T10:00:20.731675085Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-11-02T15:45:50.923612Z"},{"id":"UBUNTU-CVE-2026-115504","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.","status":"published","published":"2026-10-22T20:17:00Z","modified":"2026-10-28T17:50:38Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T16:56:00.081948Z"},{"id":"AZL-110540","title":"CVE-2026-115504 affecting package cfitsio 4.0.0-5","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.","status":"published","published":"2026-10-22T20:17:06Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:18.42484Z"}]}}
