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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read Exploit, Mitigation, Third Party Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 4
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-20 15:38
- StatusAwaiting Analysis → AnalyzedNVD modified 2026-10-20 15:38
- StatusReceived → Awaiting AnalysisNVD modified 2026-10-16 18:14
- First seenCVSS 6.9NVD modified 2026-10-15 19:17
Affected (CPE criteria) 1
cpe:2.3:a:nasa:cfitsio:*:*:*:*:*:*:*:*
References 5
- https://github.com/HEASARC/cfitsio Product
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/fits_hdecompress.c#L2575-L2633 Product
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L6310-L6316 Product
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read Exploit, Mitigation, Third Party Advisory
- https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-hcompress-input-nnybble Third Party Advisory