Use-after-free in LibreOffice - CVE-2026-6040

 

Use-after-free in LibreOffice - CVE-2026-6040

Published: June 17, 2026


Vulnerability identifier: #VU134745
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-6040
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreOffice
Affected software:
LibreOffice

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to use-after-free in ODF number-format blank-width parsing when importing a crafted ODF document. A remote attacker can trick the victim into opening a crafted file to cause a denial of service.

The issue occurs when processing number format data that pads a number with blank space as wide as a chosen character.


How to mitigate CVE-2026-6040

Install security update from vendor's website.

Sources