Back to overview

CVE-2026-6040

MEDIUM
5.4
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-6040
State
PUBLISHED
Assigner
Document Fdn.
Reserved
2026-04-09 16:42 UTC
Published
2026-06-15 16:21 UTC
Last updated
2026-06-15 18:14 UTC
Primary CWE
CWE-416
CWE-416 Use After Free
Vendor / Product
The Document Foundation / LibreOffice
Sources
cve.org  ·  NVD

Severity & Metrics

5.4 MEDIUM CVSS 4.0
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
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
The Document Foundation LibreOffice 25.8 < < 25.8.7, 26.2 < < 26.2.3
Weakness (CWE)
CWESourceDescription
CWE-416 cna CWE-416 Use After Free
CWE-787 cna CWE-787 Out-of-bounds Write
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.4 MEDIUM 4.0 cna 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
Back to overview