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.
Do this next
Free account, 1 product
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
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
- https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040
- https://access.redhat.com/security/cve/CVE-2026-6040
- https://bugzilla.redhat.com/show_bug.cgi?id=2488966
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json
The CVE record on cve.org NVD's entry
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.