CVE-2026-6040
Deferred
Deferred - Pending Action
Heap Use-After-Free in LibreOffice ODF Number Format Handling
Publication date: 2026-06-15
Last updated on: 2026-06-15
Assigner: Document Foundation, The
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| documentfoundation | libreoffice | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
| CWE-787 | The product writes data past the end, or before the beginning, of the intended buffer. |