CVE-2024-12425

NameCVE-2024-12425
DescriptionImproper 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4020-1, DSA-5846-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreoffice (PTS)bullseye1:7.0.4-4+deb11u10vulnerable
bullseye (security)1:7.0.4-4+deb11u12fixed
bookworm4:7.4.7-1+deb12u5vulnerable
bookworm (security)4:7.4.7-1+deb12u6fixed
sid, trixie4:24.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreofficesourcebullseye1:7.0.4-4+deb11u12DLA-4020-1
libreofficesourcebookworm4:7.4.7-1+deb12u6DSA-5846-1
libreofficesource(unstable)4:24.8.4-1

Notes

https://www.libreoffice.org/about-us/security/advisories/cve-2024-12425
https://gerrit.libreoffice.org/c/core/+/176236
Fixed by: https://git.libreoffice.org/core/+/383067b41647e70e0a304bddf529aacfe015099f%5E%21 (libreoffice-24.8.4.1)
Fixed by: https://github.com/LibreOffice/core/commit/02e3aea1b2cfa3c686aab10721f9a89ecc382732 (distro/cib/libreoffice-6-4)

Search for package or bug name: Reporting problems