Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111124CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
Medium 6.1
In plain English
A medium-severity out-of-bounds read in cfitsio from HEASARC. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cfitsio | no fix listed | DEBIAN-CVE-2026-111124 |
| Debian:13 | cfitsio | no fix listed | DEBIAN-CVE-2026-111124 |
| Debian:14 | cfitsio | no fix listed | DEBIAN-CVE-2026-111124 |
| Ubuntu:22.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-111124 |
| Ubuntu:24.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-111124 |
| Ubuntu:26.04:LTS | cfitsio | no fix listed | UBUNTU-CVE-2026-111124 |
| Ubuntu:26.10 | cfitsio | no fix listed | UBUNTU-CVE-2026-111124 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
References
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read technical-description
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362 technical-description
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516 technical-description
- https://github.com/HEASARC/cfitsio product
- VulnCheck Advisory: CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed third-party-advisory