Skip to main content
VulnerabilityPublished Updated

CVE-2026-6040: Libreoffice · A heap use-after-free existed when importing the blank-width characters of an ODF number

Affects libreofficeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6040· Medium 5.4

Public exploit available · CVSS 5.4 Medium · fixed in 4:24.2.7-0ubuntu0.24.04.6 : patch libreoffice as a priority.

Data as of 24 Nov 2026, 21:16 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 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4:24.2.7-0ubuntu0.24.04.6, 4:26.2.4.2-0ubuntu0.26.04.2
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 24 Nov 2026.

What to do

Upgrade the Ubuntu libreoffice to 4:24.2.7-0ubuntu0.24.04.6 (package) or 4:26.2.4.2-0ubuntu0.26.04.2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibreofficepkg:deb/ubuntu/libreoffice?arch=source&distro=resoluteOther threatsAffected
  • <4:26.2.4.2-0ubuntu0.26.04.2
Fixed in
  • 4:26.2.4.2-0ubuntu0.26.04.2
Ubuntu 25.10libreofficepkg:deb/ubuntu/libreoffice?arch=source&distro=questingOther threatsAffected
  • 4:25.2.2-0ubuntu1 – 4:25.8.7-0ubuntu0.25.10.1
17 affected builds
Fixed in–
Ubuntu 24.04 LTSlibreofficepkg:deb/ubuntu/libreoffice?arch=source&distro=nobleOther threatsAffected
  • <4:24.2.7-0ubuntu0.24.04.6
Fixed in
  • 4:24.2.7-0ubuntu0.24.04.6

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

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…