Skip to main content
VulnerabilityPublished Updated

CVE-2026-6040: The Document Foundation LibreOffice · Use After Free

Affects The Document Foundation LibreOfficeSource CVE Database V5

0
Compare

Public exploit available · CVSS 5.4 Medium.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
The Document FoundationLibreOfficeAffected
  • =25.8
  • =26.2
Fixed in–
Debiandebian/libreofficepkg:deb/debian/libreofficeOther threatsAffected
  • =25.8
  • =26.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The vulnerability is fixed in versions where bounds checking is implemented on the position value during ODF number format import. Until a patch is applied, avoid opening untrusted ODF documents that may contain malformed number formats.

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.

References

Community reviews

Loading reviews…