CVE-2026-111124
CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 15, 2026
- Updated
- Oct 26, 2026
- Reserved
- Oct 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
cfitsioHEASARC |
|
References
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-readtechnical-description
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362technical-description
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516technical-description
- https://github.com/HEASARC/cfitsioproduct
- VulnCheck Advisory: CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seedthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.