6.1Medium
CVE-2026-111125CFITSIO 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.
Weakness (CWE):
CWE-125
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read technical-descriptionexploitExploitMitigation
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/fits_hdecompress.c#L2575-L2633 technical-descriptionProduct
- https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L6310-L6316 technical-descriptionProduct
- https://github.com/HEASARC/cfitsio productProduct
- VulnCheck Advisory: CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:nasa:cfitsio:*:*:*:*:*:*:*:*≤ 4.7.0