# CVE-2026-6039: Heap buffer overflow in DXF polyline import

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-15 · Modified: 2026-06-15
- Aliases: UBUNTU-CVE-2026-6039, DEBIAN-CVE-2026-6039
- Record: https://cvemate.com/vulnerability/CVE-2026-6039 · JSON: https://cvemate.com/vulnerability/CVE-2026-6039/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v4.0, CVE.org) 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
- EPSS: 0.197%, percentile 9.895%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): \< 4:7.4.7-1+deb12u13 \| \< 4:25.2.3-2+deb13u5 \| \< 4:26.2.3.2-2
- ubuntu libreoffice (Ubuntu): All 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
- the document foundation libreoffice: ≥ 25.8, \< \< 25.8.7 \| ≥ 26.2, \< \< 26.2.3

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-6039>
- <https://ubuntu.com/security/CVE-2026-6039>
- <https://www.cve.org/CVERecord?id=CVE-2026-6039>
- <https://ubuntu.com/security/notices/USN-8534-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-6039>

---

Data as of 2026-12-05T08:49:03.824Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
