CVE-2026-111124
CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | heasarc |
| Product | cfitsio |
| Published | Oct 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for heasarc cfitsio
Be the first to know when new medium vulnerabilities affecting heasarc cfitsio are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
HEASARC / cfitsio
0 โค 4.7.0
References
hackmd.io: https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read github.com: https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362 github.com: https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516 github.com: https://github.com/HEASARC/cfitsio vulncheck.com: https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed
Credits
HaiND from the Post and Telecommunication Institute of Technology