Back
CVE-2026-6040
Heap use-after-free in ODF number-format blank-width parsing
Medium5.4EPSS 0.16%
- Published
- Updated
- Reserved
- Assigned by
- Document Fdn.
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| Document Fdn.CNA (assigner) | 4.0 | Medium5.4 | 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 |
| redhat-SADPADP (enrichment) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 4.0 | Medium5.4 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
Affected products
The Document Foundation · LibreOffice
- affected 25.8 – < < 25.8.7
- affected 26.2 – < < 26.2.3
References (4)
- https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040 (opens in a new tab)
- https://access.redhat.com/security/cve/CVE-2026-6040 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2488966 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json (opens in a new tab)x_sadp-csaf-vex
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-6040)Record last updated .