OESA-2026-4884: cfitsio security update
CFITSIO is a library of C and FORTRAN subroutines for reading and writing data files in FITS (Flexible Image Transmission System) data format. CFITSIO frees programmers from the internal complexity of the FITS file format by providing a set of easy-to-use high-level routines, thereby simplifying the task of writing software that processes FITS files. At the same time, CFITSIO provides many advanced features, making it the most widely used FITS file programming interface in the astronomy community. Security Fix(es):
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.(CVE-2026-115504)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
openeuler/cfitsioto a version that resolves this vulnerability.Fixed in 4.3.0-3.oe2403sp3
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker needs to induce software using CFITSIO to process a crafted FITS file containing variable-length string columns. Exploitation requires user interaction, as reflected by the UI:P vector, but no privileges are required.
Which deployments should be prioritized for remediation?
Prioritize systems that use CFITSIO to read FITS files from untrusted or externally supplied sources, especially where users can open or import those files. Successful exploitation can result in arbitrary code execution with the privileges of the affected application.
What versions are affected?
CFITSIO through version 4.7.0 is affected. The provided data does not identify a fixed version or an openEuler package build containing the update.