Vulnerability · Published Jan 7, 2025 · Assigned by Document Fdn.

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

Low 2.4

In plain English

A low-severity path traversal in LibreOffice from The Document Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.4Low
Exploit odds (30 days)0.3%top 74.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libreoffice4:7.4.7-1+deb12u6DSA-5846-1
Debian:12libreoffice4:7.4.7-1+deb12u6DEBIAN-CVE-2024-12425
Debian:13libreoffice4:24.8.4-1DEBIAN-CVE-2024-12425
Debian:14libreoffice4:24.8.4-1DEBIAN-CVE-2024-12425
Ubuntu:22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.8USN-7228-1
Ubuntu:22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.8UBUNTU-CVE-2024-12425
Ubuntu:24.04:LTSlibreoffice4:24.2.7-0ubuntu0.24.04.2UBUNTU-CVE-2024-12425
Ubuntu:24.04:LTSlibreoffice4:24.2.7-0ubuntu0.24.04.2USN-7228-1

Affected products (as reported)

VendorProductVersions
The Document Foundation LibreOffice 24.8 – before < 24.8.4

Weakness: CWE-22 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References