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.

Project Subscriptions

Vendors Products
The Document Foundation Subscribe
Libreoffice Subscribe
Advisories
Source ID Title
Debian DSA Debian DSA DSA-6346-1 libreoffice security update
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 17 Jun 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 16 Jun 2026 14:00:00 +0000

Type Values Removed Values Added
First Time appeared The Document Foundation
The Document Foundation libreoffice
Vendors & Products The Document Foundation
The Document Foundation libreoffice

Mon, 15 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 15 Jun 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Heap buffer overflow in DXF polyline import
Weaknesses CWE-197
CWE-787
References
Metrics cvssV4_0

{'score': 5.4, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Document Fdn.

Published:

Updated: 2026-06-15T18:17:13.933Z

Reserved: 2026-04-09T16:29:22.953Z

Link: CVE-2026-6039

cve-icon Vulnrichment

Updated: 2026-06-15T18:16:08.981Z

cve-icon NVD

Status : Deferred

Published: 2026-06-15T18:16:36.740

Modified: 2026-06-15T20:55:48.070

Link: CVE-2026-6039

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-15T16:21:16Z

Links: CVE-2026-6039 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-16T23:45:14Z

Weaknesses