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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T18:57:22.035Z
- Modified: 2026-10-21T02:17:03.647Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- HEASARC cfitsio: up to 4.7.0
- nasa cfitsio: up to 4.7.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://hackmd.io/@haind-pwn/cfitsio-zdither0-dither-seed-oob-read> (exploit, mitigation, technical-description, third-party-advisory)
- <https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/fits_hdecompress.c#L2575-L2633> (product, technical-description)
- <https://github.com/HEASARC/cfitsio/blob/d6d27653740864a0483e74cff23c53e34e1dceee/imcompress.c#L6310-L6316> (product, technical-description)
- <https://github.com/HEASARC/cfitsio> (product)
- <https://www.vulncheck.com/advisories/cfitsio-through-4.7.0-heap-out-of-bounds-read-via-hcompress-input-nnybble> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111125](https://www.cve.org/CVERecord?id=CVE-2026-111125), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-111125](https://nvd.nist.gov/vuln/detail/CVE-2026-111125), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-111125 · Whole record: https://cve.day/CVE-2026-111125.json · Rebuilt by cve.day 2026-11-25T22:59:44.929Z
