CVE-2026-111125
CVE-2026-111125 · CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
cfitsio
- Versions
- ≥ 0, ≤ 4.7.0: Affected (semver)
No fix published
cfitsio Debian:12
- Versions
- 4.2.0-3
- 4.3.0-1
- 4.3.0-2
- 4.3.1-1
- 4.3.1-1.1
- 4.3.1-1.1~exp1
- 4.4.1-1
- 4.4.1-2
- 4.5.0-1
- 4.5.0-2
- 4.5.0-3
- 4.5.0-4
- 4.5.0-5
- 4.6.2-1
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:13
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Debian:14
- Versions
- 4.6.2-2
- 4.6.3-1
- 4.6.4-1
- 4.7.0-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:16.04:LTS
- Versions
- 3.370-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:18.04:LTS
- Versions
- 3.410-1
- 3.420-3
- 3.430-1
- 3.430-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:20.04:LTS
- Versions
- 3.470-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:22.04:LTS
- Versions
- 3.490-3
- 4.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:24.04:LTS
- Versions
- 4.2.0-3
- 4.3.0-2
- 4.3.1-1
- 4.3.1-1.1build1
- 4.3.1-1.1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:26.10
- Versions
- 4.6.3-1
- 4.6.4-1
- 4.7.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
cfitsio Ubuntu:26.04:LTS
- Versions
- 4.6.2-2
- 4.6.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-111125