JLSEC-2026-2275: Medium severity julia/cfitsio_jll vulnerability
CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the HCOMPRESS tile decoder that allows attackers to read past the compressed tile buffer via inputnnybble in fitshdecompress.c. Attackers can supply a crafted FITS file with ZCMPTYPE HCOMPRESS1 declaring oversized tile geometry to crash applications calling fitsreadpix or disclose limited heap memory.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must provide a crafted FITS file using ZCMPTYPE HCOMPRESS_1 with oversized declared tile geometry. The affected application must then process pixel data from that file through fits_read_pix; user interaction is required to cause the application to open or process the malicious file.
Which applications are realistically exposed?
Applications using julia/cfitsio_jll are exposed when they read untrusted FITS files and invoke fits_read_pix on HCOMPRESS_1-compressed image tiles. Applications that do not process attacker-controlled FITS input are not exposed through this attack path.
What is the likely impact if exploitation succeeds?
The out-of-bounds read can crash the application, causing a denial of service. It may also disclose a limited amount of heap memory located after the compressed tile buffer.
What can be done if patching is not immediately possible?
Avoid processing untrusted FITS files, particularly files using HCOMPRESS_1 compression, until an updated dependency is available. Where possible, validate or isolate FITS-file processing so a crash or limited memory disclosure does not affect the main application.