CVE-2026-6039

published 15 Jun 2026 · updated 15 Jun 2026

Heap buffer overflow in DXF polyline import

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in < 25.8.7 and < 26.2.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=25.8 << 25.8.7, >=26.2 << 26.2.3< 25.8.7, < 26.2.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6039 severity on Zeptric[![CVE-2026-6039](https://zeptric.io/badge/cve/CVE-2026-6039.svg)](https://zeptric.io/cve/CVE-2026-6039)