CVE-2026-6039
Heap buffer overflow in DXF polyline import
Reported by document fdn. · Published June 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| LibreOffice | The Document Foundation | < 26.2.3, < 25.8.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Document Foundation | LibreOffice | 25.8, 26.2 |
| The Document Foundation | LibreOffice | 25.8, 26.2 |
Timeline
- Jun 15, 2026 CVE Published
- Jun 15, 2026 CVE Updated
- Jun 16, 2026 EPSS Score (13 in total, the first dated here)
- Jun 16, 2026 Coalition ESS Score
- Jun 17, 2026 Security Advisory (10 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-6039
vulnetix vdb fixes CVE-2026-6039
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6039/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart