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.
Problem types
Product status
25.8 (25.8 series) before < 25.8.7
26.2 (26.2 series) before < 26.2.3
Credits
Anthropic (automated discovery using Claude)
Trail of Bits (triage and validation)
References
www.libreoffice.org/...-us/security/advisories/cve-2026-6040