CVE-2024-12425 Path traversal leading to arbitrary .ttf file write

Low 2.4 Published Updated

An attacker can write arbitrary files with a .ttf extension to any location on the system via a crafted document in LibreOffice.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-12425?

CVE-2024-12425 is a low-severity path traversal vulnerability in Debian Debian Linux, published on 7 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2024-12425?

It affects 2 products.

Products include Debian Debian Linux, Libreoffice Libreoffice.

How do I fix CVE-2024-12425?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-12425 being exploited?

There is no known exploitation of CVE-2024-12425 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-12425, GHSA-6x53-588x-53g2, UBUNTU-CVE-2024-12425.

Is CVE-2024-12425 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free