Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12425: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in The Document Foundation LibreOffice

0
Low
VulnerabilityCVE-2024-12425cvecve-2024-12425cwe-22
Published: Tue Jan 07 2025 (01/07/2025, 11:15:08 UTC)
Source: CVE Database V5
Vendor/Project: The Document Foundation
Product: LibreOffice

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in The Document Foundation LibreOffice allows Absolute Path Traversal. An attacker can write to arbitrary locations, albeit suffixed with ".ttf", by supplying a file in a format that supports embedded font files. This issue affects LibreOffice: from 24.8 before < 24.8.4.

AI-Powered Analysis

AILast updated: 11/03/2025, 22:10:12 UTC

Technical Analysis

CVE-2024-12425 is a path traversal vulnerability classified under CWE-22 affecting The Document Foundation's LibreOffice software, specifically versions 24.8 prior to 24.8.4. The flaw allows an attacker to write files to arbitrary filesystem locations by exploiting improper validation of pathnames when handling embedded font files within supported document formats. The vulnerability permits writing files with a ".ttf" suffix, which are font files, potentially enabling an attacker to place malicious font files in locations that could be loaded or executed by the system or user applications. Exploitation requires local privileges (AV:L), low attack complexity (AC:L), no authentication (PR:L), and user interaction (UI:P). The impact on confidentiality and availability is minimal, but integrity could be affected if the attacker manages to influence system or application behavior through crafted font files. No known active exploits have been reported, and no patches were linked in the provided data, but upgrading to LibreOffice 24.8.4 or later is recommended. The vulnerability is limited by the need for local access and user interaction, reducing its risk profile. However, in environments where LibreOffice is widely used, especially in document-heavy workflows, this vulnerability could be leveraged for targeted attacks or persistence mechanisms.

Potential Impact

For European organizations, the primary impact of CVE-2024-12425 lies in the potential unauthorized modification of files on systems running vulnerable LibreOffice versions. While the vulnerability does not directly lead to remote code execution or data exfiltration, the ability to write arbitrary ".ttf" files could be abused to influence system behavior, for example, by placing malicious fonts that might be loaded by other applications or the OS, potentially leading to privilege escalation or persistence. The requirement for local privileges and user interaction limits the attack surface, but insider threats or social engineering could still exploit this flaw. Organizations with extensive use of LibreOffice in sensitive sectors such as government, finance, or critical infrastructure should consider the risk more seriously. Additionally, environments with lax endpoint security or where users have elevated privileges are more vulnerable. The low CVSS score reflects the limited scope and impact, but the vulnerability could serve as a stepping stone in multi-stage attacks.

Mitigation Recommendations

1. Upgrade LibreOffice to version 24.8.4 or later as soon as updates become available to ensure the vulnerability is patched. 2. Restrict user permissions on endpoints to prevent unauthorized file writes outside user directories, minimizing the impact of path traversal exploits. 3. Implement application whitelisting and endpoint protection solutions that monitor and block suspicious file writes, especially of font files in unusual locations. 4. Educate users about the risks of opening untrusted documents and the importance of avoiding social engineering traps that could trigger exploitation. 5. Monitor filesystem changes for unexpected creation of ".ttf" files in system or application directories. 6. Employ sandboxing or containerization for document processing where feasible to limit the scope of potential exploitation. 7. Regularly audit and review installed software versions and patch levels across the organization to maintain a secure posture.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Document Fdn.
Date Reserved
2024-12-10T16:37:20.903Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69092147fe7723195e054081

Added to database: 11/3/2025, 9:40:23 PM

Last enriched: 11/3/2025, 10:10:12 PM

Last updated: 11/5/2025, 2:00:03 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats