CVE-2026-115504
published high CVSS 4.0 · 8.5CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HEASARC | — | cfitsio0 through 4.7.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Ubuntu | jammy | cfitsio | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | noble | cfitsio | Advisory build | 4.3.1-1.1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | resolute | cfitsio | Advisory build | 4.6.3-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | jammy | libcfitsio-bin | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | jammy | libcfitsio9 | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | noble | libcfitsio-bin | Advisory build | 4.3.1-1.1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | noble | libcfitsio10t64 | Advisory build | 4.3.1-1.1ubuntu0.1~esm1 | USN-9302-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | fitsverify | Advisory build | 4.22+cfitsio4.6.3-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | resolute | libcfitsio-bin | Advisory build | 4.6.3-1ubuntu0.1~esm1 | USN-9302-1 |
| Ubuntu | resolute | libcfitsio10t64 | Advisory build | 4.6.3-1ubuntu0.1~esm1 | USN-9302-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HEASARC | cfitsio | 0 through 4.7.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
5- 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
- VulnCheck Advisory: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-out-of-bounds-write-via-ffgcls2-in-getcols-c
Provider assertions
2VulnCheck · cna
CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23dc025555f81f658ae044191a0b620bb811cb9acaee837687c2f40f7fa671b6
- Ingested
- 29 Oct 2026, 02:45:24 UTC
- Source record
- Official CVE record