Back to CVE records
Medium 5.4Published Jun 15, 2026

CVE-2026-6040Heap use-after-free in ODF number-format blank-width parsing

Updated under an hour ago ()

Does this affect you?

It affects The Document Foundation LibreOffice and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
5.4 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-416, CWE-787, CWE-825
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Document Fdn.
NVD analysis
Deferred
Record last updated
Jul 23, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
The Document Foundation LibreOffice
document_foundation:libreoffice (from the name)
from 25.8 before < 25.8.7; from 26.2 before < 26.2.3
CNA record
Red Hat Red Hat Enterprise Linux 6
redhat:enterprise_linux
6
CISA ADP

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.