{"id":"CVE-2026-111124","revision":"dd5426a310044f30916334e185d0878e","records":[{"revision":"dd5426a310044f30916334e185d0878e","observedAt":"2026-10-26T16:35:30.797+00:00","statement":{"source":"cve-program","id":"CVE-2026-111124","aliases":[],"title":"CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed","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.","state":0,"publishedAt":"2026-10-15T18:57:21.328+00:00","modifiedAt":"2026-10-26T15:02:09.903+00:00","affected":[{"ecosystem":"https://github.com","name":"cfitsio","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"HEASARC\",\n                    \"product\": \"cfitsio\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"4.7.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com\",\n                    \"repo\": \"https://github.com/HEASARC/cfitsio\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":6.1,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111124","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111124","identifiers":["CVE-2026-111124"]},"retained":false,"historicalAffected":[]}],"coverage":[]}