{"schemaVersion":4,"id":"CVE-2026-115504","aliases":["DEBIAN-CVE-2026-115504","UBUNTU-CVE-2026-115504"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-10-22T19:14:04.552Z","modified":"2026-10-29T02:35:24.229Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00167,"percentile":0.06231,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00167},"history":[{"date":"2026-10-23T00:00:00.000Z","score":0.00135,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00135,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00167,"percentile":0.06231}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00196,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00167,"percentile":0.06231}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_YURE1432_98F15C7E8F48DC90AE65646F926AA176","name":"98F15C7E8F48Dc90Ae65646F926Aa176","source":"github","url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"cfitsio","name":"cfitsio","label":"cfitsio","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cfitsio","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cfitsio","name":"cfitsio","label":"cfitsio","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cfitsio","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 4.0.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.0.0-1ubuntu0.1~esm1","endInclusive":false}},{"text":"< 4.3.1-1.1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.3.1-1.1ubuntu0.1~esm1","endInclusive":false}},{"text":"< 4.6.3-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.6.3-1ubuntu0.1~esm1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 4.0.0-1ubuntu0.1~esm1 | < 4.3.1-1.1ubuntu0.1~esm1 | < 4.6.3-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"heasarc","product":"cfitsio","name":"cfitsio","label":"cfitsio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.7.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.7.0","endInclusive":true}}],"versionsText":"≤ 4.7.0","eol":null,"hubHref":"/vendor/heasarc/cfitsio"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","label":"gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","hostname":"gist.github.com","tags":["Technical Description","Exploit","REPORT"]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","label":"github.com/HEASARC/cfitsio/pull/184","hostname":"github.com","tags":["Patch","Issue Tracking","REPORT"]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","label":"github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/HEASARC/cfitsio","label":"github.com/HEASARC/cfitsio","hostname":"github.com","tags":["Product","REPORT"]},{"url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","label":"www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","hostname":"www.vulncheck.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-115504","label":"security-tracker.debian.org/tracker/CVE-2026-115504","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-115504","label":"ubuntu.com/security/CVE-2026-115504","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-115504","label":"www.cve.org/CVERecord?id=CVE-2026-115504","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-9302-1","label":"ubuntu.com/security/notices/USN-9302-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-9302-1"],"duplicates":[],"related":["USN-9302-1"]},"timeline":[{"kind":"published","date":"2026-10-22T19:14:04.552Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-29T02:35:24.229Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,0,85],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00167,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-29T02:35:24.229Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-29T02:35:13.846Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00167,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:03:11.982Z","stale":false,"partial":false}}