CVE-2026-111125

CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble

Published Oct 15, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a heap-based out‑of‑bounds read in the HCOMPRESS tile decoder of CFITSIO. When a crafted FITS file declares an oversized tile geometry for the HCOMPRESS_1 type, the decoder reads past the allocated buffer via the input_nnybble parameter. This can cause the application to crash or reveal a small portion of adjacent heap memory. The weakness corresponds to CWE‑125.

Affected Systems

The issue applies to the HEASARC CFITSIO library versions up to and including 4.7.0. Any software that links against CFITSIO 4.7.0 or earlier and processes FITS files containing HCOMPRESS_1 tiles is potentially impacted. No other vendors or product lines are listed by the CNA for this vulnerability.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity. The EPSS score is not available, so the exploitation probability cannot be quantified. The vulnerability is not listed in CISA’s KEV catalog, indicating no widespread exploitation is known. Attackers would need to supply a malicious FITS file that is read by the vulnerable CFITSIO decoder. The impact could be application crash or limited disclosure of adjacent heap memory. Because the read is limited to a small region, the damage scope is modest.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any patch released by CFITSIO or update to the latest available release to address the out‑of‑bounds read.
  • If an upgrade is not possible, add strict validation of tile geometry sizes in the application before calling fits_read_pix so that input_nnybble never exceeds buffer bounds.
  • As a temporary containment measure, block processing of FITS files from untrusted sources or run the reader inside a sandboxed environment to isolate potential crashes.

Generated by OpenCVE AI on October 16, 2026 at 16:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Heasarc
Heasarc cfitsio
Vendors & Products Heasarc
Heasarc cfitsio
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nasa
Nasa cfitsio
CPEs cpe:2.3:a:nasa:cfitsio:*:*:*:*:*:*:*:*
Vendors & Products Nasa
Nasa cfitsio
Type Values Removed Values Added
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.
Title CFITSIO through 4.7.0 Heap Out-of-Bounds Read via HCOMPRESS input_nnybble
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 21, 2026, 1:15 AM
Reserved
Oct 15, 2026, 5:03 PM
Status
Analyzed
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 21, 2026, 2:17 AM
Severity
Moderate
Public date
Oct 15, 2026, 6:57 PM