CVE-2026-111124

CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed

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 imcompress.c unquantize helpers that allows attackers to read memory before the fits_rand_value table via a zero or negative ZDITHER0 seed. Attackers can supply a crafted FITS file with a SUBTRACTIVE_DITHER_1 compressed image, read through fits_open_file() and fits_read_pix(), to cause crashes or leak heap contents in decoded pixels.

Analysis

AI-generated

Technical impact

CFITSIO up to version 4.7.0 contains a heap‑based out‑of‑bounds read in the imcompress.c unquantize helpers. A crafted FITS file that uses SUBTRACTIVE_DITHER_1 compression and supplies a zero or negative ZDITHER0 seed allows an attacker to read memory preceding the protected fits_rand_value table when the library processes the file via fits_open_file() and fits_read_pix(). The read can expose arbitrary heap data from the hosting application and can also trigger crashes, compromising confidentiality and availability.

Affected Systems

The vulnerability affects the CFITSIO library developed by HEASARC. All releases through 4.7.0 are impacted; subsequent releases that contain the patched code are safe. Systems that parse FITS images with CFITSIO, especially in astrophysical data processing pipelines, are at risk.

Risk and Exploitability

The CVSS v3.1 score of 6.9 indicates high‑moderate risk. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog, suggesting no publicly confirmed exploitation yet. The likely attack vector is local, requiring an attacker to supply a malicious FITS file that the application processes. If an application runs with elevated privileges or in an untrusted context, the impact could include memory disclosure or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest CFITSIO release (4.7.1 or later) which removes the out‑of‑bounds read flaw.
  • If an upgrade cannot be performed immediately, configure applications using CFITSIO to reject FITS files with SUBTRACTIVE_DITHER_1 compression or to validate the ZDITHER0 seed value before invoking fits_read_pix().
  • Deploy host‑based monitoring to detect abnormal crashes or heap reads when processing FITS files, and isolate such failures in a sandboxed environment.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 imcompress.c unquantize helpers that allows attackers to read memory before the fits_rand_value table via a zero or negative ZDITHER0 seed. Attackers can supply a crafted FITS file with a SUBTRACTIVE_DITHER_1 compressed image, read through fits_open_file() and fits_read_pix(), to cause crashes or leak heap contents in decoded pixels.
Title CFITSIO through 4.7.0 Heap Out-of-Bounds Read via Negative ZDITHER0 Seed
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 26, 2026, 3:02 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Modified
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 26, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 15, 2026, 6:57 PM