CVE-2026-111124
CVE-2026-111124 · CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
cfitsio
- Versions
- ≥ 0, ≤ 4.7.0: Affected (semver)
No fix published
cfitsio Debian:12
- Versions
- 4.2.0-3
- 4.3.0-1
- 4.3.0-2
- 4.3.1-1
- 4.3.1-1.1
- 4.3.1-1.1~exp1
- 4.4.1-1
- 4.4.1-2
- 4.5.0-1
- 4.5.0-2
- 4.5.0-3
- 4.5.0-4
- 4.5.0-5
- 4.6.2-1
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:13
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:14
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:16.04:LTS
- Versions
- 3.370-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:18.04:LTS
- Versions
- 3.410-1
- 3.420-3
- 3.430-1
- 3.430-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:20.04:LTS
- Versions
- 3.470-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:22.04:LTS
- Versions
- 3.490-3
- 4.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:24.04:LTS
- Versions
- 4.2.0-3
- 4.3.0-2
- 4.3.1-1
- 4.3.1-1.1build1
- 4.3.1-1.1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:26.10
- Versions
- 4.6.3-1
- 4.6.4-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:26.04:LTS
- Versions
- 4.6.2-2
- 4.6.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516
- https://github.com/HEASARC/cfitsio
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed
- https://nvd.nist.gov/vuln/detail/CVE-2026-111124