Every CVE Search/ Get API key

CVE-2024-12425

Path traversal leading to arbitrary .ttf file write

2.4 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Passive

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.32%Up 0.3 points since Jan 8, 2025
90%50%10%1%

What each source reports

CVE List Score used 2.4

Path traversal leading to arbitrary .ttf file write

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.

Record
CVE-2024-12425
CVSS 4.0
2.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2024-50846 2.4

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.

Record
EUVD-2024-50846
CVSS 4.0
2.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-6x53-588x-53g2 2.4

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in...

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.

Record
GHSA-6x53-588x-53g2
CVSS 4.0
2.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 2.4

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.

Record
CVE-2024-12425
CVSS 4.0
2.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 3.3

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.

Record
CVE-2024-12425
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2024-12425 3.3

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.

Record
DEBIAN-CVE-2024-12425
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2024-12425 2.4

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.

Record
UBUNTU-CVE-2024-12425
CVSS 4.0
2.4 LowCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVMGASA-2025-0035 No score

Updated libreoffice packages fix security vulnerabilities

Path traversal leading to arbitrary .ttf file write. (CVE-2024-12425) URL fetching can be used to exfiltrate arbitrary INI file values and environment variables. (CVE-2024-12426)

Record
MGASA-2025-0035
Updated
2026-11-02
OSVUSN-7228-1 No score

libreoffice vulnerabilities

Thomas Rinsma discovered that LibreOffice incorrectly handled paths when processing embedded font files. If a user or automated system were tricked into opening a specially crafted LibreOffice file, a remote attacker could possibly use this issue to create arbitrary files ending with ".ttf". (CVE-2024-12425)

Thomas Rinsma discovered that LibreOffice incorrectly handled certain environment variables and INI file values. If a user or automated system were tricked into opening a specially crafted LibreOffice file, a remote attacker could possibly use this issue to exfiltrate sensitive information. (CVE-2024-12426)

Record
USN-7228-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreoffice
Debian:12
before 4:7.4.7-1+deb12u6, plus listed versions
4:7.4.5-34:7.4.7-14:7.4.7-1+deb12u14:7.4.7-1+deb12u1~bpo11+14:7.4.7-1+deb12u2
Show 5 moreShow less
4:7.4.7-1+deb12u2~bpo11+14:7.4.7-1+deb12u34:7.4.7-1+deb12u44:7.4.7-1+deb12u54:7.4.7-1~bpo11+1
4:7.4.7-1+deb12u6
libreoffice
Debian:13
before 4:24.8.4-1
4:24.8.4-1
libreoffice
Debian:14
before 4:24.8.4-1
4:24.8.4-1
libreoffice
Debian:11
From an advisory covering 2 CVEs
before 1:7.0.4-4+deb11u12, plus listed versions
1:7.0.4-41:7.0.4-4+deb11u11:7.0.4-4+deb11u101:7.0.4-4+deb11u111:7.0.4-4+deb11u1~bpo10+1
Show 10 moreShow less
1:7.0.4-4+deb11u21:7.0.4-4+deb11u31:7.0.4-4+deb11u3~bpo10+11:7.0.4-4+deb11u41:7.0.4-4+deb11u4~bpo10+11:7.0.4-4+deb11u51:7.0.4-4+deb11u61:7.0.4-4+deb11u71:7.0.4-4+deb11u81:7.0.4-4+deb11u9
1:7.0.4-4+deb11u12
libreoffice
Debian:12
From an advisory covering 2 CVEs
before 4:7.4.7-1+deb12u6, plus listed versions
4:7.4.5-34:7.4.7-14:7.4.7-1+deb12u14:7.4.7-1+deb12u1~bpo11+14:7.4.7-1+deb12u2
Show 5 moreShow less
4:7.4.7-1+deb12u2~bpo11+14:7.4.7-1+deb12u34:7.4.7-1+deb12u44:7.4.7-1+deb12u54:7.4.7-1~bpo11+1
4:7.4.7-1+deb12u6
libreoffice
Mageia:9
From an advisory covering 2 CVEs
before 24.2.7.2-1.mga9
24.2.7.2-1.mga9
libreoffice
Ubuntu:20.04:LTS
before 1:6.4.7-0ubuntu0.20.04.13, plus listed versions
1:6.3.2-0ubuntu21:6.3.3-0ubuntu11:6.3.3-0ubuntu21:6.3.4-0ubuntu11:6.4.0-0ubuntu4
Show 21 moreShow less
1:6.4.0-0ubuntu61:6.4.0-0ubuntu71:6.4.1-0ubuntu11:6.4.2-0ubuntu11:6.4.2-0ubuntu21:6.4.2-0ubuntu31:6.4.3-0ubuntu0.20.04.11:6.4.4-0ubuntu0.20.04.11:6.4.5-0ubuntu0.20.04.11:6.4.6-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.21:6.4.7-0ubuntu0.20.04.41:6.4.7-0ubuntu0.20.04.51:6.4.7-0ubuntu0.20.04.61:6.4.7-0ubuntu0.20.04.71:6.4.7-0ubuntu0.20.04.81:6.4.7-0ubuntu0.20.04.91:6.4.7-0ubuntu0.20.04.101:6.4.7-0ubuntu0.20.04.111:6.4.7-0ubuntu0.20.04.12
1:6.4.7-0ubuntu0.20.04.13
libreoffice
Ubuntu:22.04:LTS
before 1:7.3.7-0ubuntu0.22.04.8, plus listed versions
1:7.2.1-0ubuntu31:7.2.2-0ubuntu0.21.10.11:7.2.3~rc2-0ubuntu11:7.2.4-0ubuntu11:7.2.5~rc1-0ubuntu2
Show 19 moreShow less
1:7.2.5~rc2-0ubuntu11:7.3.1~rc2-0ubuntu11:7.3.1~rc3-0ubuntu11:7.3.2~rc1-0ubuntu21:7.3.2~rc2-0ubuntu11:7.3.2-0ubuntu11:7.3.2-0ubuntu21:7.3.3-0ubuntu0.22.04.11:7.3.4-0ubuntu0.22.04.11:7.3.5-0ubuntu0.22.04.11:7.3.6-0ubuntu0.22.04.11:7.3.6-0ubuntu0.22.04.21:7.3.7-0ubuntu0.22.04.11:7.3.7-0ubuntu0.22.04.21:7.3.7-0ubuntu0.22.04.31:7.3.7-0ubuntu0.22.04.41:7.3.7-0ubuntu0.22.04.51:7.3.7-0ubuntu0.22.04.61:7.3.7-0ubuntu0.22.04.7
1:7.3.7-0ubuntu0.22.04.8
libreoffice
Ubuntu:24.04:LTS
before 4:24.2.7-0ubuntu0.24.04.2, plus listed versions
4:7.6.2-0ubuntu14:7.6.3~rc1-0ubuntu24:7.6.3-0ubuntu34:7.6.4-0ubuntu14:7.6.4-0ubuntu3
Show 13 moreShow less
4:24.2.0~rc1-0ubuntu14:24.2.1~rc1-0ubuntu14:24.2.1~rc2-0ubuntu14:24.2.2~rc2-0ubuntu14:24.2.2-0ubuntu14:24.2.3-0ubuntu0.24.04.14:24.2.3-0ubuntu0.24.04.24:24.2.4-0ubuntu0.24.04.14:24.2.4-0ubuntu0.24.04.24:24.2.5-0ubuntu0.24.04.14:24.2.5-0ubuntu0.24.04.24:24.2.6-0ubuntu0.24.04.14:24.2.7-0ubuntu0.24.04.1
4:24.2.7-0ubuntu0.24.04.2
libreoffice
Ubuntu:20.04:LTS
From an advisory covering 2 CVEs
before 1:6.4.7-0ubuntu0.20.04.13, plus listed versions
1:6.3.2-0ubuntu21:6.3.3-0ubuntu11:6.3.3-0ubuntu21:6.3.4-0ubuntu11:6.4.0-0ubuntu4
Show 21 moreShow less
1:6.4.0-0ubuntu61:6.4.0-0ubuntu71:6.4.1-0ubuntu11:6.4.2-0ubuntu11:6.4.2-0ubuntu21:6.4.2-0ubuntu31:6.4.3-0ubuntu0.20.04.11:6.4.4-0ubuntu0.20.04.11:6.4.5-0ubuntu0.20.04.11:6.4.6-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.21:6.4.7-0ubuntu0.20.04.41:6.4.7-0ubuntu0.20.04.51:6.4.7-0ubuntu0.20.04.61:6.4.7-0ubuntu0.20.04.71:6.4.7-0ubuntu0.20.04.81:6.4.7-0ubuntu0.20.04.91:6.4.7-0ubuntu0.20.04.101:6.4.7-0ubuntu0.20.04.111:6.4.7-0ubuntu0.20.04.12
1:6.4.7-0ubuntu0.20.04.13
libreoffice
Ubuntu:22.04:LTS
From an advisory covering 2 CVEs
before 1:7.3.7-0ubuntu0.22.04.8, plus listed versions
1:7.2.1-0ubuntu31:7.2.2-0ubuntu0.21.10.11:7.2.3~rc2-0ubuntu11:7.2.4-0ubuntu11:7.2.5~rc1-0ubuntu2
Show 19 moreShow less
1:7.2.5~rc2-0ubuntu11:7.3.1~rc2-0ubuntu11:7.3.1~rc3-0ubuntu11:7.3.2~rc1-0ubuntu21:7.3.2~rc2-0ubuntu11:7.3.2-0ubuntu11:7.3.2-0ubuntu21:7.3.3-0ubuntu0.22.04.11:7.3.4-0ubuntu0.22.04.11:7.3.5-0ubuntu0.22.04.11:7.3.6-0ubuntu0.22.04.11:7.3.6-0ubuntu0.22.04.21:7.3.7-0ubuntu0.22.04.11:7.3.7-0ubuntu0.22.04.21:7.3.7-0ubuntu0.22.04.31:7.3.7-0ubuntu0.22.04.41:7.3.7-0ubuntu0.22.04.51:7.3.7-0ubuntu0.22.04.61:7.3.7-0ubuntu0.22.04.7
1:7.3.7-0ubuntu0.22.04.8
libreoffice
Ubuntu:24.04:LTS
From an advisory covering 2 CVEs
before 4:24.2.7-0ubuntu0.24.04.2, plus listed versions
4:7.6.2-0ubuntu14:7.6.3~rc1-0ubuntu24:7.6.3-0ubuntu34:7.6.4-0ubuntu14:7.6.4-0ubuntu3
Show 13 moreShow less
4:24.2.0~rc1-0ubuntu14:24.2.1~rc1-0ubuntu14:24.2.1~rc2-0ubuntu14:24.2.2~rc2-0ubuntu14:24.2.2-0ubuntu14:24.2.3-0ubuntu0.24.04.14:24.2.3-0ubuntu0.24.04.24:24.2.4-0ubuntu0.24.04.14:24.2.4-0ubuntu0.24.04.24:24.2.5-0ubuntu0.24.04.14:24.2.5-0ubuntu0.24.04.24:24.2.6-0ubuntu0.24.04.14:24.2.7-0ubuntu0.24.04.1
4:24.2.7-0ubuntu0.24.04.2

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-12425 is a low vulnerability (CVSS 2.4) in Libreoffice, published January 7, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in libreoffice 4:7.4.7-1+deb12u6.

References

Show 7 moreShow less
MoveEnter Open