Read the docs

Out-of-bounds write in CFITSIO ffgcls2 allows code execution

Priority LOW 38CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

CFITSIO through 4.7.0 contains an out-of-bounds write in ffgcls2() in getcols.c (CWE-787). The function trusts heap descriptor lengths for variable-length string columns, so writes overflow a fixed 28,800-byte stack buffer and the caller's string array. A local attacker who supplies a crafted FITS file and gets a user to open it can execute arbitrary code. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00167 6th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
HEASARCcfitsioup to 4.7.0—No fix listedCNA
  • cfitsio VendorHEASARC Affected up to 4.7.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for CFITSIO. Red Hat lists Red Hat Enterprise Linux AI (RHEL AI) 3 as affected, with no fix plan available.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Not affected: 1 product
  • Red Hat Enterprise Linux 10

Timeline

  1. 2026-10-22 Threatist record created from CVE-2026-115504
  2. 2026-10-22 Alias added: GHSA-wjcj-f49x-x56c
  3. 2026-10-23 Affected versions changed · Red Hat
  4. 2026-10-23 CVSS score added · Red Hat
  5. 2026-10-23 Priority changed: MEDIUM → LOW
  6. 2026-10-29 CISA SSVC decision points changed

References

Sources