OS command injection in LibreOffice - CVE-2025-0514

 

OS command injection in LibreOffice - CVE-2025-0514

Published: February 26, 2025


Vulnerability identifier: #VU104198
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-0514
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when handling non-file URLs. A remote attacker can trick the victim into clicking on a specially crafted hyperlink inside a document and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

LibreOffice

How to mitigate CVE-2025-0514

Install updates from vendor's website.

LibreOffice - update to 24.8.5.1

External References

Related Security Bulletins