CVE 5.4 MEDIUM

Heap use-after-free in ODF number-format blank-width parsing_CVE-2026-6040

5.4 / 10
MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P

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.

Basic Information

ID CVE-2026-6040
Source Document Fdn.
Published Jun 15, 2026 at 16:21

Affected Product

Vendor The Document Foundation
Product LibreOffice
Version 25.8
Affected Versions The Document Foundation LibreOffice 25.8
The Document Foundation LibreOffice 26.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.