ZDI-26-781: LibreOffice EMF+ Brush Integer Overflow Remote Code Execution Vulnerability
Summary
Zero Day Initiative has published a security advisory regarding a Remote Code Execution vulnerability (ZDI-26-781 / CVE-2026-6045) in LibreOffice with a CVSS score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). The issue stems from an integer overflow when parsing EMF images within ODT files. Exploitation requires user interaction, such as convincing a user to open a malicious file or visit a malicious page.
Affected Products
- LibreOffice
Technical Details
The specific flaw exists within the parsing of EMF images inside ODT files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow prior to buffer allocation. An attacker can leverage this vulnerability to execute code in the context of the current process.
Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected LibreOffice installations in the context of the current process.
Mitigation
- Apply the security updates issued by LibreOffice.
- Exercise caution when opening ODT files or visiting links received from untrusted sources.
References
- https://www.libreoffice.org/security/#cve-2026-6045
- Disclosure Timeline:
- 2026-04-23: Vulnerability reported to vendor
- 2026-10-16: Coordinated public release of advisory
- 2026-10-16: Advisory updated
- Credit: truff
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.