CVE Catalog

CVE-2026-115504

HighCVSS 7.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Processing a malicious FITS file may lead to buffer overflow and arbitrary code execution in the context of the application parsing the data. The risk affects systems analyzing untrusted FITS files, e.g., in astronomy or scientific data processing.

Recommendation

Update CFITSIO to a version later than 4.7.0 once a fix is available. Until then, avoid processing untrusted FITS files or do so in an isolated environment.

Other vulnerabilities in CFITSIO

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS