# CVE-2018-17407: libkpathsea6: An issue was discovered in t1_check_unusual_charstring functions in writet1.c files in TeX Live before 2018-09-21

CVE-2018-17407 is fixed in 6 products on 1 platform, first by libkpathsea6 2017.20170613.44572-8ubuntu0.1, released September 22, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-17407
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0208
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 22, 2018

## Description

An issue was discovered in t1_check_unusual_charstring 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libkpathsea6 Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [libkpathsea6 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libkpathsea6-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |
| Linux | libptexenc1 Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [libptexenc1 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libptexenc1-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |
| Linux | libsynctex1 Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [libsynctex1 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsynctex1-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |
| Linux | libtexlua52 Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [libtexlua52 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtexlua52-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |
| Linux | libtexluajit2 Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [libtexluajit2 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtexluajit2-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |
| Linux | texlive-binaries Ubuntu 18.04.6 LTS (bionic) | 2017.20170613.44572-8ubuntu0.1 | [texlive-binaries 2017.20170613.44572-8ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-texlive-binaries-2017.20170613.44572-8ubuntu0.1.md) | Sep 22, 2018 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
