{"id":"CVE-2026-111125","summary":"CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble","details":"CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the HCOMPRESS tile decoder that allows attackers to read past the compressed tile buffer via input_nnybble in fits_hdecompress.c. Attackers can supply a crafted FITS file with ZCMPTYPE HCOMPRESS_1 declaring oversized tile geometry to crash applications calling fits_read_pix or disclose limited heap memory.","modified":"2026-10-16T10:46:48.686037730Z","published":"2026-10-15T18:57:22.035Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111125.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-125"]},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111125.json"},{"type":"PACKAGE","url":"https://github.com/HEASARC/cfitsio"},{"type":"ARTICLE","url":"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/fits_hdecompress.c#L2575-L2633"},{"type":"ARTICLE","url":"https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L6310-L6316"},{"type":"EVIDENCE","url":"https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111125"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-hcompress-input-nnybble"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/heasarc/cfitsio","events":[{"introduced":"0"},{"last_affected":"d6d27653740864a0483e74cff23c53e34e1dceee"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"4.7.0"}]}}],"versions":["cfitsio-4.7.0","cfitsio-4.6.3","cfitsio-4.6.2","cfitsio-4.6.1","cfitsio-4.6.0","cfitsio-4.4.0","cfitsio-4.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111125.json"}}],"schema_version":"1.9.0","severity":[{"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"}]}