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.

Project Subscriptions

Vendors Products
Heasarc Subscribe
Cfitsio Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 23 Oct 2026 05:00:00 +0000

Type Values Removed Values Added
First Time appeared Heasarc
Heasarc cfitsio
Vendors & Products Heasarc
Heasarc cfitsio

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
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.
Title CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:14:04.552Z

Reserved: 2026-10-22T16:14:58.754Z

Link: CVE-2026-115504

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T20:17:06.313

Modified: 2026-10-22T20:17:06.313

Link: CVE-2026-115504

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:45:13Z

Weaknesses