REDHAT-BUG-2541397: Use After Free
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.
Affected Software
Event History
Frequently Asked Questions
What attacker interaction is required to trigger this issue?
An attacker must persuade a user to open a crafted Gnumeric workbook containing a malformed SheetObjectComponent element. The flaw is triggered while Gnumeric parses the workbook XML.
What impact has been demonstrated?
The available proof of concept demonstrates a denial of service: Gnumeric crashes when the stale sheet-object component is dereferenced. Code execution, information disclosure, and data-integrity impact have not been demonstrated.
Which versions are known to be affected?
The issue was reproduced in Gnumeric 1.12.61 and an AddressSanitizer-instrumented development build. It was also reported as present in source version 1.11.0 and later; no fixed release had been identified at the time of reporting.
What can be done if a fixed release is not available?
A patch was available, although no fixed release had been identified at the time of reporting. Until a patched build can be deployed, avoid opening untrusted or unsolicited Gnumeric workbook files.