{"id":"CVE-2026-115504","state":"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.","publishedAt":"2026-10-22T19:14:04.552Z","updatedAt":"2026-10-29T02:35:24.229Z","severity":{"score":8.5,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["HEASARC cfitsio"],"affected":[{"vendor":"HEASARC","product":"cfitsio","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.7.0","versionType":"semver"}],"collectionURL":"https://github.com","repo":"https://github.com/HEASARC/cfitsio"}],"references":["https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","https://github.com/HEASARC/cfitsio/pull/184","https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","https://github.com/HEASARC/cfitsio","https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/115xxx/CVE-2026-115504.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-115504","state":"PUBLISHED","datePublished":"2026-10-22T19:14:04.552Z","dateUpdated":"2026-10-29T02:35:24.229Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-22T16:14:58.754Z"},"containers":{"cna":{"title":"CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","descriptions":[{"lang":"en","value":"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":[{"vendor":"HEASARC","product":"cfitsio","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.7.0","versionType":"semver"}],"collectionURL":"https://github.com","repo":"https://github.com/HEASARC/cfitsio"}],"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","name":"VulnCheck Advisory: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-22T19:14:04.552Z"},"datePublic":"2026-09-14T00:00:00.000Z","credits":[{"lang":"en","value":"Pratyaksh Srivats","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T02:35:13.846497Z","id":"CVE-2026-115504","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T02:35:24.229Z"}}]}}}