CVE-2026-111124

Name
CVE-2026-111124
Description
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 fits_rand_value table via a zero or negative ZDITHER0 seed. Attackers can supply a crafted FITS file with a SUBTRACTIVE_DITHER_1 compressed image, read through fits_open_file() and fits_read_pix(), to cause crashes or leak heap contents in decoded pixels.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Product https://github.com/HEASARC/cfitsio
Product https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362
Product https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516
Exploit https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read
Third Party Advisory https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:nasa:cfitsio:*:*:*:*:*:*:*:* cfitsio >= None <= 4.7.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
cfitsio edge-community 4.7.0-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable
cfitsio edge-community 4.6.4-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable
cfitsio edge-community 4.6.3-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable
cfitsio edge-community 4.6.2-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable
cfitsio edge-community 4.5.0-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable
cfitsio 3.24-community 4.6.4-r0 Holger Jaekel <holger.jaekel@gmx.de> possibly vulnerable