CVE-2026-97222 Gnumeric: gnumeric: heap use-after-free when opening a malformed workbook

Medium 5.5 Published Updated

An attacker can cause a denial of service by tricking a user into opening a malformed Gnumeric workbook that triggers a heap use-after-free crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-97222?

CVE-2026-97222 is a medium-severity use after free vulnerability in GNOME Gnumeric, published on 25 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2026-97222?

Linux distribution packages (1)
gnumeric openSUSE:TumbleweedAll versions1.12.62+8-1.1

How do I fix CVE-2026-97222?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-97222 being exploited?

There is no known exploitation of CVE-2026-97222 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-97222, GHSA-gx2p-wmmc-xm83, MGASA-2026-0501, UBUNTU-CVE-2026-97222, openSUSE-SU-2026:11919-1.

Is CVE-2026-97222 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free