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

Published Jun 15, 2026
·
Updated

Last updated 4 July 2026

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
LibreOffice Libreoffice
debian/libreoffice<=1:7.0.4-4+deb11u10, <=1:7.0.4-4+deb11u13
4:7.4.7-1+deb12u144:7.4.7-1+deb12u134:25.2.3-2+deb13u64:25.2.3-2+deb13u54:26.2.4.2-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libreoffice to a version that resolves this vulnerability.

    Fixed in 4:7.4.7-1+deb12u14Fixed in 4:7.4.7-1+deb12u13Fixed in 4:25.2.3-2+deb13u6Fixed in 4:25.2.3-2+deb13u5Fixed in 4:26.2.4.2-2
  2. Compensating control

    Use LibreOffice fixed versions where oversized DXF polylines are rejected.

Event History

Jun 15, 2026
CVE Published
via MITRE·04:21 PM
Data Sourced
via MITRE·04:21 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Jul 13, 2026
Data Sourced
via Ubuntu·09:26 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:27 PM
Description
Jul 14, 2026
Data Sourced
via Debian·09:28 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6039?

CVE-2026-6039 has a medium severity rating of 5.4 according to the CVSS score.

2

What type of vulnerability is CVE-2026-6039?

CVE-2026-6039 is a heap buffer overflow vulnerability found in LibreOffice.

3

How do I fix CVE-2026-6039?

To fix CVE-2026-6039, update LibreOffice to the latest version provided by The Document Foundation.

4

What impact does CVE-2026-6039 have on users?

CVE-2026-6039 can lead to potential memory corruption and could allow an attacker to execute arbitrary code.

5

Which software is affected by CVE-2026-6039?

CVE-2026-6039 affects LibreOffice, a software developed by The Document Foundation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203