Heap-based buffer overflow in LibreOffice - CVE-2026-6039
Published: June 17, 2026
LibreOffice
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to heap-based buffer overflow in DXF polyline import when parsing a crafted DXF file. A remote attacker can trick the victim into opening a specially crafted file to execute arbitrary code.
The issue occurs when a polyline point count exceeds the 16-bit range, causing the buffer to be sized using a truncated value while writes use the full count.