CVE-2026-6039

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.

Affected Software

VendorProductVersion RangeStatus
The Document FoundationLibreOffice25.8 < < 25.8.7affected
The Document FoundationLibreOffice26.2 < < 26.2.3affected

Weaknesses

  • CWE-787: CWE-787 Out-of-bounds Write
  • CWE-197: CWE-197 Numeric Truncation Error

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References