Skip to content
OpenAdvisories
High · 7.8 CVE-2026-115504 EUVD-2026-108336GHSA-wjcj-f49x-x56c

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

Published Oct 22, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
HEASARC cfitsio ≤ 4.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cfitsio No fix yet —
Debian 13 cfitsio No fix yet —
Debian 12 cfitsio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cfitsio No fix yet —
Ubuntu 26.04 LTS cfitsio No fix yet —
Ubuntu 24.04 LTS cfitsio No fix yet —
Ubuntu 22.04 LTS cfitsio No fix yet —
Ubuntu 20.04 LTS cfitsio No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS cfitsio No fix yet —
Ubuntu 16.04 LTS cfitsio No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cfitsio No fix yet —

References