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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"nasa:cfitsio": [
"<= 4.7.0"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111124",
"id": "CVE-2026-111124",
"imported": "2026-12-03T00:57:33.593Z",
"modified": "2026-10-26T16:17:12.730Z",
"published": "2026-10-15T19:17:25.627Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-111124"
}
]
}