{"id":"JLSEC-2026-2274","details":"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.","modified":"2026-12-03T01:30:02.109342738Z","published":"2026-12-03T01:14:57.369Z","upstream":["CVE-2026-111124"],"database_specific":{"sources":[{"published":"2026-10-15T19:17:25.627Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-111124","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111124","database_specific":{"status":"Modified"},"affected":{"nasa:cfitsio":["\u003c= 4.7.0"]},"id":"CVE-2026-111124","imported":"2026-12-03T00:57:33.593Z","modified":"2026-10-26T16:17:12.730Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/HEASARC/cfitsio"},{"type":"WEB","url":"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L5353-L5362"},{"type":"WEB","url":"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L7495-L7516"},{"type":"WEB","url":"https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read"},{"type":"WEB","url":"https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-negative-zdither0-seed"}],"affected":[{"package":{"name":"CFITSIO_jll","ecosystem":"Julia","purl":"pkg:julia/CFITSIO_jll?uuid=b3e40c51-02ae-5482-8a39-3ace5868dcf4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2274.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}