
CVE catalog
CVE-2026-115504
cfitsio: CVE-2026-115504
- Severity
- High · CVSS 8.5
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 - Published
- Source
- [NVD] · [CVE record]
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cfitsio | sid | 4.7.0-2 | vulnerable |
| Debian | cfitsio | forky | 4.7.0-2 | vulnerable |
| Debian | cfitsio | trixie | 4.6.2-2 | vulnerable |
| Debian | cfitsio | bookworm | 4.2.0-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cfitsio | source | sid | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | cfitsio | source | forky | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | cfitsio | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | cfitsio | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcfitsio10]Affected
Source package: [cfitsio]
Details (2)
4.2.0-3· amd64 · bookwormAffected
dsa · cfitsio · debian · bookworm
4.2.0-3· arm64 · bookwormAffected
dsa · cfitsio · debian · bookworm
- [libcfitsio-bin]Affected
Source package: [cfitsio]
Details (2)
4.2.0-3· amd64 · bookwormAffected
dsa · cfitsio · debian · bookworm
4.2.0-3· arm64 · bookwormAffected
dsa · cfitsio · debian · bookworm
- [libcfitsio-dev]Affected
Source package: [cfitsio]
Details (2)
4.2.0-3· amd64 · bookwormAffected
dsa · cfitsio · debian · bookworm
4.2.0-3· arm64 · bookwormAffected
dsa · cfitsio · debian · bookworm
- [libcfitsio-doc]Affected
Source package: [cfitsio]
Details (2)
4.2.0-3· all · bookwormAffected
dsa · cfitsio · debian · bookworm
4.2.0-3· all · bookwormAffected
dsa · cfitsio · debian · bookworm
Observed:
References
- [https://gist.github.com/yure1432/98f15c7e8f48dc90ae65646f926aa176]
- [https://github.com/HEASARC/cfitsio]
- [https://github.com/HEASARC/cfitsio/commit/579792e0f85bff0c6733ad5ebdf54c3b5c188686]
- [https://github.com/HEASARC/cfitsio/pull/184]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-115504]
- [https://security-tracker.debian.org/tracker/CVE-2026-115504]
- [https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c]
[Debian Security Tracker] · [National Vulnerability Database (NVD)]