CVE-2026-6039: the document foundation libreoffice Numeric Truncation Error
Vulnerability summary
CVE-2026-6039 is a medium (CVSS 5.4) Numeric Truncation Error vulnerability in the document foundation libreoffice. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 15-06-2026PublishedVulnerability first disclosed.
- 15-06-2026Last modifiedVulnerability information updated.
Description
LibreOffice can import drawings in the DXF format used by CAD software. A heap buffer overflow existed when importing a DXF polyline. The point count taken from the file was truncated to a 16-bit value when the point buffer was sized, while the full count was used to fill it, so a polyline whose point count exceeded the 16-bit range was written past the end of the buffer. In fixed versions such oversized polylines are rejected.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS: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:PDiffers
- OSV · DebianEcosystem advisory · calculated6.9MediumCVSS: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:XDiffers
- NVDNIST5.4MediumCVSS: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 trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
-0.03 pp
From 0.20% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libreoffice< 4:7.4.7-1+deb12u13 | < 4:25.2.3-2+deb13u5 | < 4:26.2.3.2-2
The document foundation1 product
- libreoffice≥ 25.8, < < 25.8.7 | ≥ 26.2, < < 26.2.3
Ubuntu1 product
- libreofficeAll versions (No fix recorded) | < 1:7.3.7-0ubuntu0.22.04.12 | < 4:24.2.7-0ubuntu0.24.04.6 | < 4:26.2.4.2-0ubuntu0.26.04.2
3 vendors · 3 products