{"id":"CVE-2026-6039","published":"2026-06-15T16:21:16Z","modified":"2026-06-15T18:17:13Z","title":"Heap buffer overflow in DXF polyline import","vendor":"The Document Foundation","product":"LibreOffice","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.09611,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-197","name":"Numeric Truncation Error"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6039","tags":[]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":1.92},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"the-document-foundation","affectedVersions":[{"vendor":"The Document Foundation","product":"LibreOffice","versions":[">= 25.8, < < 25.8.7",">= 26.2, < < 26.2.3"]}],"capec":[{"id":"CAPEC-44","name":"Overflow Binary Resource File"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-15T18:16:06.325169Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36734","exploited":false,"provenance":"source"}}