CVE-2026-6039CWE-197CWE-787

Heap buffer overflow in DXF polyline import

Medium · published June 15, 2026

CVSS v4.0
5.4
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.4 · MEDIUM
Vector
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.00167 · 5.7th percentile
Weaknesses
CWE-197 · Numeric Truncation Error; CWE-787 · Out-of-bounds Write
Published
2026-06-15T16:21Z
EPSS history
Timeline
  • 15 JUN 16:21Z
    Heap buffer overflow in DXF polyline import
    cvelistv5