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.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Disclosure
Action: Patch
AI Analysis

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.

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

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

History

Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 15 Oct 2026 19:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T18:57:21.328Z

Reserved: 2026-10-15T17:03:50.803Z

Link: CVE-2026-111124

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-15T19:17:25.627

Modified: 2026-10-15T19:17:25.627

Link: CVE-2026-111124

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-15T18:57:21Z

Links: CVE-2026-111124 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T06:45:14Z

Weaknesses