CVE-2026-115504: CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

Published Oct 22, 2026
·
Updated

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 Software

1 affected component
CFITSIO CFITSIO<=4.7.0

Event History

Oct 22, 2026
CVE Published
via MITRE·07:14 PM
Data Sourced
via MITRE·07:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker must cause CFITSIO to process a crafted FITS file containing variable-length string columns with attacker-controlled heap descriptor lengths. The published vector indicates local attack access, no privileges required, and user interaction required.

2

Who is most exposed?

Systems or applications that use CFITSIO to open or process FITS files from untrusted sources are exposed, particularly where a user can be induced to load an attacker-supplied file. The impact can include arbitrary code execution through an out-of-bounds write.

3

How can I tell whether my deployment is affected?

Check whether the application uses CFITSIO through version 4.7.0 and processes FITS files with variable-length string columns. The vulnerable code path is ffgcls2() in getcols.c.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203