GNOME Gnumeric heap use-after-free in workbook XML parsing

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-97222?

CVE-2026-97222 is a vulnerability classified as Use After Free, affecting Gnumeric (affected versions: 1.11.0). This vulnerability is rated Medium, with a CVSS score of 5.5. Current sources do not report this vulnerability as exploited.

Overview

Original source data

A heap use-after-free flaw was found in Gnumeric. When a user opens a crafted Gnumeric workbook containing a malformed SheetObjectComponent element, the XML parser can dereference a freed sheet-object component, causing Gnumeric to crash.

Affected products and scope

  • GNOME Gnumeric: source was reported affected from 1.11.0 onward, and the issue was reproduced in 1.12.61. The record does not provide a versioned fixed release.
  • Upstream fix: an upstream source-level fix has been identified, but the available evidence does not identify a specific release containing that fix. The status of each packaged or parallel release branch has not been verified.
  • Currently supported Red Hat products: Red Hat states that its currently supported products are not affected.

Technical details

This is a CWE-416 Use After Free in Gnumeric's workbook XML parser. When the parser processes a malformed SheetObjectComponent element, it can release a sheet-object component and later pass the freed object to sheet_object_component_set_component(). The stale object is then dereferenced during XML parsing, causing the Gnumeric process to crash. Exploitation requires a user to open a specially crafted workbook; no authentication is required, but user interaction is required. The available evidence describes a read-after-free and demonstrates denial of service, while exploitability beyond crashing has not been established.

Exploitability

Exploitation follows a local file-processing path: an attacker supplies a malformed Gnumeric workbook and a user opens it in Gnumeric. The record states that no privileges are required, attack complexity is low, and user interaction is required. The proof of concept described in the report demonstrates denial of service by crashing Gnumeric only. The record does not identify a public exploit or known exploitation activity; that absence should not be treated as proof that exploitation has never occurred.

Technical impact

  • Technical outcome: the parser dereferences a freed sheet-object component, causing the Gnumeric process to crash and producing a denial of service for the session processing the file.
  • Scope: the attack requires user interaction and directly affects the Gnumeric process running for the user or local workflow; no evidence shows that it crosses into another system.
  • Limits: no code execution, information disclosure, or data-integrity impact has been demonstrated. There is also no evidence of privilege escalation or a broader change in security scope.
  • Organizational consequence: users may be unable to continue processing a workbook in the affected session. The effect on shared services or automated pipelines depends on whether they open untrusted workbooks, which the record does not establish.

Business impact

The flaw can terminate a user's Gnumeric session when a malicious workbook is opened, interrupting work and potentially requiring the application to be restarted. Workflows that process workbooks with Gnumeric could experience an availability interruption if they open files supplied by untrusted sources, but the impact on automated workflows has not been established. The available report does not demonstrate data disclosure, data modification, privilege escalation, or code execution.

Remediation

  1. Apply an updated package or build that contains the upstream fix as soon as the vendor or distribution provides one. The available evidence confirms a source-level fix but does not name a specific fixed release.
  2. Until a patched build is verified, do not open Gnumeric workbook files from untrusted sources. This is the documented mitigation; no application-level mitigation that preserves processing of untrusted workbooks is known.
  3. Inventory systems running Gnumeric from 1.11.0 onward, including 1.12.61, and verify that each package or source build contains the fix rather than relying only on a version label.
  4. For Red Hat environments, apply the assessment within the supported-product scope: currently supported Red Hat products are considered unaffected, although that assessment may change if further analysis identifies new information.

Detection

  • Inventory Gnumeric installations and builds, prioritizing the branch from 1.11.0 onward and systems running 1.12.61.
  • For source builds, verify that the source tree contains the upstream fix identified in the report or that the fix has been integrated by the vendor or distribution. Do not infer safety solely from a newer version label without verification.
  • Review Gnumeric crash reports occurring when workbooks are opened, especially failures during XML processing or involving SheetObjectComponent.
  • An AddressSanitizer-instrumented development build can be used in a controlled test environment to validate the issue in the manner described by the report, but failure to reproduce a crash does not prove that a system is safe.
  • No specific IOC or log signature is provided. Crash monitoring is a precautionary measure, not a confirmed vulnerability-specific indicator.
Sources (25)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.