JLSEC-2026-2274: Medium severity julia/cfitsio_jll vulnerability
CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the imcompress.c unquantize helpers that allows attackers to read memory before the fitsrandvalue table via a zero or negative ZDITHER0 seed. Attackers can supply a crafted FITS file with a SUBTRACTIVEDITHER1 compressed image, read through fitsopenfile() and fitsreadpix(), to cause crashes or leak heap contents in decoded pixels.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using julia/cfitsio_jll with CFITSIO through 4.7.0 are exposed when they open and read attacker-controlled FITS files containing SUBTRACTIVE_DITHER_1 compressed images.
What does an attacker need to exploit it?
An attacker needs to provide a crafted FITS file with a zero or negative ZDITHER0 seed and induce the application to process it through fits_open_file() and fits_read_pix(). No privileges are required, but user interaction is required to cause the file to be opened or processed.
What is the practical impact of successful exploitation?
Processing the crafted image can read heap memory before the fits_rand_value table. This may crash the application or expose heap contents through decoded pixel data.