What’s Vulnerable › Vulnerabilities

CVE-2026-6040: Heap use-after-free in ODF number-format blank-width parsing

Description

A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memory outside that string. In fixed versions the position is bounds-checked before use.

Affected products

How to fix

Upgrade to a fixed version: The Document Foundation LibreOffice < 25.8.7, < 26.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-6040 or the next vulnerability affects your stack