CVE-2026-97222: Gnumeric: gnumeric: heap use-after-free when opening a malformed workbook
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.
Other sources
A heap use-after-free flaw was found in Gnumeric's workbook XML parser. A malformed SheetObjectComponent element can cause the parser to release a sheet-object component and later pass the freed object to sheetobjectcomponentsetcomponent(). When a user opens a crafted Gnumeric workbook, the stale object is dereferenced during XML parsing, causing Gnumeric to crash. The issue was reproduced in the 1.12.61 release and an AddressSanitizer-instrumented development build; it was also present in source reported as version 1.11.0 and later. The available proof of concept demonstrates a denial of service only. No code execution, information disclosure, or data-integrity impact has been demonstrated. A patch was available, but no fixed release had been identified at the time of reporting.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
An attacker must provide a crafted Gnumeric workbook with a malformed SheetObjectComponent element and persuade a user to open it in Gnumeric. The documented impact is a Gnumeric crash.
Who is exposed?
Users who open untrusted or attacker-supplied Gnumeric workbook files are exposed. The attack requires local interaction because a user must open the crafted workbook.