{"id":"CVE-2026-111125","revision":"0daf6b38f6c04de8b886f0e6a28c7c51","records":[{"revision":"0daf6b38f6c04de8b886f0e6a28c7c51","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111125","aliases":[],"title":"CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble","description":"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.","state":0,"publishedAt":"2026-10-15T18:57:22.035+00:00","modifiedAt":"2026-10-21T01:15:29.785+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/fits_hdecompress.c#L2575-L2633","https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L6310-L6316","https://github.com/HEASARC/cfitsio","https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-hcompress-input-nnybble"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111125","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111125","identifiers":["CVE-2026-111125"]},"retained":false,"historicalAffected":[]}],"coverage":[]}