CVE-2025-0514
High · 7.8CVSS
7.8
EPSS
0.3%
Published
Feb 25, 2025
CISA due date
—
Cloudanix analysis
A problem in popular document software can let attackers run harmful programs on a computer if someone clicks a link inside a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability stems from missing validation on hyperlink targets in LibreOffice documents, permitting direct execution of Windows executable files upon user activation without any sandboxing or confirmation.
Why it matters to the business
Organizations using affected LibreOffice versions face elevated risk of malware execution through everyday documents, potentially leading to data breaches or system compromise, though low exploit prevalence and absence from known ransomware campaigns reduce immediate urgency.
How an attack unfolds
An attacker creates a specially crafted document containing a hyperlink pointing to a Windows executable hosted locally or remotely; when the recipient opens the document and activates the link, the executable runs without further checks.
How to fix it
Upgrade LibreOffice to version 24.8.5 or later; for libreoffice/core apply commit 8e3f91296d65a47712b8a390b4731fa5a2f6c9af; apply available Ubuntu package updates for qemu if present in the environment.
How to confirm the fix worked
Verify installed LibreOffice version is at least 24.8.5; test hyperlink behavior in a controlled document to confirm execution is now blocked or prompted; review package manifests for the listed fixed commits.
Typical attack path
- Craft a LibreOffice document embedding a hyperlink targeting a Windows executable
- Deliver the document via email, shared storage, or download
- Victim opens the document in an affected LibreOffice version
- Victim activates the hyperlink, triggering unconditional execution of the target executable
How to detect it
Review document application logs and system process creation events for unexpected executable launches triggered immediately after opening LibreOffice files; correlate with file access timestamps on potentially malicious documents.
What your security team should do
- Prioritize patching LibreOffice installations to 24.8.5+ across the enterprise
- Disable or restrict hyperlink execution features where possible until patches are applied
- Monitor for unusual process launches originating from document applications
- Educate users on risks of activating hyperlinks in untrusted documents
The record
Improper Input Validation vulnerability in The Document Foundation LibreOffice allows Windows Executable hyperlink targets to be executed unconditionally on activation.This issue affects LibreOffice: from 24.8 before < 24.8.5.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:20.04:LTS | libreoffice | 0 | No fix |
| Ubuntu:22.04:LTS | libreoffice | 0 | No fix |
| Ubuntu:24.04:LTS | libreoffice | 0 | No fix |
| Ubuntu:24.10 | libreoffice | 0 | No fix |
Related vulnerabilities
- CVE-2024-12426 Exposure of Environmental Variables and arbitrary INI file values to an Unauthorized… Also affects libreoffice
- CVE-2024-12425 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… Also affects libreoffice
- CVE-2024-7788 Improper Digital Signature Invalidation vulnerability in Zip Repair Mode of The Document… Also affects libreoffice
- CVE-2024-5261 Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode… Also affects libreoffice