Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-115504

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

HEASARC cfitsio

Default version status: unaffected

  • 0 to ≤ 4.7.0affected

References