PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-6039 The Document Foundation CVE debrief

A heap buffer overflow existed in LibreOffice 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. This could allow an attacker to write past the end of the buffer. In fixed versions, such oversized polylines are rejected.

Vendor
The Document Foundation
Product
LibreOffice
CVSS
MEDIUM 5.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-15
Original CVE updated
2026-06-15
Advisory published
2026-06-15
Advisory updated
2026-06-15

Who should care

Users of LibreOffice who work with DXF files, particularly those from untrusted sources.

Technical summary

The vulnerability is caused by improper handling of DXF polyline imports. When a polyline with a point count exceeding the 16-bit range is imported, the software writes past the end of the buffer, potentially allowing for code execution.

Defensive priority

MEDIUM

Recommended defensive actions

  • Update to a fixed version of LibreOffice.
  • Be cautious when importing DXF files from untrusted sources.

Evidence notes

The CVE record and NVD detail pages provide information on this vulnerability.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-6039 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-6039

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-6039 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-6039

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.