Use After Free in The Document Foundation Libreoffice

CVE-2026-6040

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 pr…

Vulnerability class: Use-After-Free

EPSS: 0.001 (1.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-6040?
CVE-2026-6040 is a high-severity vulnerability in The Document Foundation Libreoffice, classified under Use After Free. CVSS score: 7.3/10. Published 2026-06-15.
How severe is CVE-2026-6040?
High severity. CVSS v3 base score is 7.3 out of 10.