Skip to main content
← All vulnerabilities
CVE-2026-115504EUVD-2026-108336GHSA-WJCJ-F49X-X56C

CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

CFITSIO, a widely used C library for reading and writing FITS astronomical data files, is affected by this flaw. A specially crafted FITS file can trigger a memory overflow that may allow an attacker to run arbitrary code on the affected system.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • HEASARC cfitsio

    through 4.7.0

References 5

gist.github.com

GitHub · HEASARC/cfitsio

vulncheck.com