CVE-2026-6039 json
Heap buffer overflow in DXF polyline import
published 2026-06-15 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-36734
- cvss
- 5.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- The Document Foundation LibreOffice < 25.8.7, < 26.2.3
- libreoffice Debian 12 4:7.4.7-1+deb12u13
- libreoffice Debian 13 4:25.2.3-2+deb13u5
- libreoffice Debian 14 4:26.2.3.2-2
debian advisories DEBIAN-CVE-2026-6039
- libreoffice Ubuntu 22.04 LTS 1:7.3.7-0ubuntu0.22.04.12
- libreoffice Ubuntu 24.04 LTS 4:24.2.7-0ubuntu0.24.04.6
- libreoffice Ubuntu 26.04 LTS 4:26.2.4.2-0ubuntu0.26.04.2
ubuntu advisories UBUNTU-CVE-2026-6039
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreoffice SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 26.2.5.1-150500.20.37.1
suse advisories SUSE-SU-2026:3140-1
- libreoffice openSUSE Leap 16.0 26.8.1.1-bp160.1.1
opensuse advisories openSUSE-SU-2026:22216-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-6039 updated cvss 5.5
libreoffice: LibreOffice: Denial of Service via specially crafted DXF polyline import
-
Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 more Red Hat Enterprise Linux 7 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +105 moreaffected: workaround, no fix planned “Users should exercise caution when opening DXF files from untrusted sources. Restricting the processing of untrusted or unverified DXF documents can reduce the risk of exploitation.”
-
Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 more Red Hat Enterprise Linux 9 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +101 moreaffected: workaround, no fix available “Users should exercise caution when opening DXF files from untrusted sources. Restricting the processing of untrusted or unverified DXF documents can reduce the risk of exploitation.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.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 |
| CNA | 4.0 | 5.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 |
Affected products
- The Document Foundation LibreOffice
Classification
References
Sources
- CVE List CVE-2026-6039
- NVD CVE-2026-6039
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.