CVE-2018-17407: Buffer Overflow
An issue was discovered in t1checkunusualcharstring functions in writet1.c files in TeX Live before 2018-09-21. A buffer overflow in the handling of Type 1 fonts allows arbitrary code execution when a malicious font is loaded by one of the vulnerable tools: pdflatex, pdftex, dvips, or luatex.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/texlive-binto a version that resolves this vulnerability.Fixed in 2020.20200327.54578-7+deb11u1Fixed in 2020.20200327.54578-7+deb11u2Fixed in 2022.20220321.62855-5.1+deb12u2Fixed in 2024.20240313.70630+ds-6Fixed in 2025.20250727.75242+ds-5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 6ed0077520e2b0da1fd060c7f88db7b2e6068e4c
Event History
Frequently Asked Questions
What is CVE-2018-17407?
CVE-2018-17407 is a vulnerability in TeX Live that allows arbitrary code execution when a malicious font is loaded by vulnerable tools.
Which software is affected by CVE-2018-17407?
PDFlatex, PDFTeX, DVIPS, and LuaTeX are affected by CVE-2018-17407.
What is the severity of CVE-2018-17407?
The severity of CVE-2018-17407 is high with a CVSS score of 7.8.
How can I fix CVE-2018-17407 in TeX Live?
To fix CVE-2018-17407 in TeX Live, update to versions 2018.20181218.49446-1 or later.
Are there any references for CVE-2018-17407?
Yes, you can find more information about CVE-2018-17407 at the following references: [1], [2], [3].