7.3

CVE-2026-6040: the document foundation libreoffice Use After Free

CVSS: 7.3v3.1HighDeferred
AliasesUBUNTU-CVE-2026-6040DEBIAN-CVE-2026-6040
Published 15-06-2026Last modified 23-07-2026

Vulnerability summary

CVE-2026-6040 is a high (CVSS 7.3) Use After Free vulnerability in the document foundation libreoffice. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 15-06-2026
    PublishedVulnerability first disclosed.
  2. 23-07-2026
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

+0.05 pp

From 0.11% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libreoffice< 4:25.2.3-2+deb13u5 | < 4:26.2.3.2-2
The document foundation1 product
Ubuntu1 product
  • libreoffice< 4:24.2.7-0ubuntu0.24.04.6 | All versions (No fix recorded) | < 4:26.2.4.2-0ubuntu0.26.04.2

3 vendors · 3 products

References

8 links