# CVE-2026-115504: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-10-22 · Modified: 2026-10-29
- Aliases: DEBIAN-CVE-2026-115504, UBUNTU-CVE-2026-115504
- Record: https://cvemate.com/vulnerability/CVE-2026-115504 · JSON: https://cvemate.com/vulnerability/CVE-2026-115504/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.167%, percentile 6.231%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian cfitsio (Debian): All versions (No fix recorded)
- ubuntu cfitsio (Ubuntu): All versions (No fix recorded) \| \< 4.0.0-1ubuntu0.1~esm1 \| \< 4.3.1-1.1ubuntu0.1~esm1 \| \< 4.6.3-1ubuntu0.1~esm1
- heasarc cfitsio: ≤ 4.7.0

## 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>
- <https://security-tracker.debian.org/tracker/CVE-2026-115504>
- <https://ubuntu.com/security/CVE-2026-115504>
- <https://www.cve.org/CVERecord?id=CVE-2026-115504>
- <https://ubuntu.com/security/notices/USN-9302-1>

---

Data as of 2026-12-05T13:03:11.982Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
