{"id":"CVE-2026-115504","published":"2026-10-22T20:17:06.313","lastModified":"2026-10-23T19:45:03.547","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-787"],"vendors":[],"products":[],"references":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","tags":[]},{"url":"https://github.com/HEASARC/cfitsio","tags":[]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","tags":[]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","tags":[]},{"url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c","tags":[]}],"exploitRefs":[{"url":"https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176","tags":[]},{"url":"https://github.com/HEASARC/cfitsio","tags":[]},{"url":"https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686","tags":[]},{"url":"https://github.com/HEASARC/cfitsio/pull/184","tags":[]}],"hasPoc":true,"ai":null}