Skip to content
OpenAdvisories
Low · 2.4 CVE-2024-12425 EUVD-2024-50846GHSA-6x53-588x-53g2

Path traversal leading to arbitrary .ttf file write

Published Jan 7, 2025 · Updated Nov 3, 2025 · Assigned by Document Fdn.

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.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 24.8 – < < 24.8.4 < 24.8.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 4:24.8.4-1 —
Debian 13 libreoffice 4:24.8.4-1 —
Debian 12 libreoffice 4:7.4.7-1+deb12u6 DSA-5846-1
Debian 11 libreoffice 1:7.0.4-4+deb11u12 DLA-4020-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libreoffice 4:24.2.7-0ubuntu0.24.04.2 USN-7228-1
Ubuntu 22.04 LTS libreoffice 1:7.3.7-0ubuntu0.22.04.8 USN-7228-1
Ubuntu 20.04 LTS libreoffice 1:6.4.7-0ubuntu0.20.04.13 USN-7228-1

Advisories 4

References