Heap Buffer Overflow in LibreOffice Affects DXF Input Handling
CVE-2026-6039
5.4MEDIUM
What is CVE-2026-6039?
A vulnerability in LibreOffice allows for a heap buffer overflow when importing DXF files used by CAD software. The application improperly handles the point count of polylines, resulting in a situation where the buffer size is mistakenly defined using a truncated 16-bit value while the actual count surpasses this limit. This oversight can lead to writing beyond the allocated memory buffer, raising potential risks of data corruption and application crashes. Fixed versions effectively reject polylines that exceed the permissible point count, enhancing reliability and security.
Affected Version(s)
LibreOffice 25.8
LibreOffice 26.2
References
CVSS V4
Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Anthropic (automated discovery using Claude)
Trail of Bits (triage and validation)
