CVE-2018-17407 Memory corruption in n/a
A buffer overflow in TeX Live allows arbitrary code execution when processing malicious Type 1 fonts with tools like pdflatex or dvips.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-17407?
CVE-2018-17407 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 23 Sep 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2018-17407?
It affects 3 products.
Linux distribution packages (40)
texlive Red Hat:enterprise_linux:7::client | All versions | 2:2012-45.20130427_r30134.el7 |
texlive-adjustbox Red Hat:enterprise_linux:7::client | All versions | 2:svn26555.0-45.el7 |
texlive-adjustbox-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn26555.0-45.el7 |
texlive-ae Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.4-45.el7 |
texlive-ae-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.4-45.el7 |
texlive-algorithms Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0.1-45.el7 |
texlive-algorithms-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0.1-45.el7 |
texlive-amscls Red Hat:enterprise_linux:7::client | All versions | 2:svn29207.0-45.el7 |
texlive-amscls-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn29207.0-45.el7 |
texlive-amsfonts Red Hat:enterprise_linux:7::client | All versions | 2:svn29208.3.04-45.el7 |
texlive-amsfonts-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn29208.3.04-45.el7 |
texlive-amsmath Red Hat:enterprise_linux:7::client | All versions | 2:svn29327.2.14-45.el7 |
texlive-amsmath-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn29327.2.14-45.el7 |
texlive-anysize Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-anysize-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-appendix Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.2b-45.el7 |
texlive-appendix-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.2b-45.el7 |
texlive-arabxetex Red Hat:enterprise_linux:7::client | All versions | 2:svn17470.v1.1.4-45.el7 |
texlive-arabxetex-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn17470.v1.1.4-45.el7 |
texlive-arphic Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-arphic-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-attachfile Red Hat:enterprise_linux:7::client | All versions | 2:svn21866.v1.5b-45.el7 |
texlive-attachfile-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn21866.v1.5b-45.el7 |
texlive-avantgar Red Hat:enterprise_linux:7::client | All versions | 2:svn28614.0-45.el7 |
texlive-babel Red Hat:enterprise_linux:7::client | All versions | 2:svn24756.3.8m-45.el7 |
texlive-babel-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn24756.3.8m-45.el7 |
texlive-babelbib Red Hat:enterprise_linux:7::client | All versions | 2:svn25245.1.31-45.el7 |
texlive-babelbib-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn25245.1.31-45.el7 |
texlive-base Red Hat:enterprise_linux:7::client | All versions | 2:2012-45.20130427_r30134.el7 |
texlive-beamer Red Hat:enterprise_linux:7::client | All versions | 2:svn29349.3.26-45.el7 |
texlive-beamer-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn29349.3.26-45.el7 |
texlive-bera Red Hat:enterprise_linux:7::client | All versions | 2:svn20031.0-45.el7 |
texlive-bera-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn20031.0-45.el7 |
texlive-beton Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-beton-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.0-45.el7 |
texlive-bibtex Red Hat:enterprise_linux:7::client | All versions | 2:svn26689.0.99d-45.el7 |
texlive-bibtex-bin Red Hat:enterprise_linux:7::client | All versions | 2:svn26509.0-45.20130427_r30134.el7 |
texlive-bibtex-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn26689.0.99d-45.el7 |
texlive-bibtopic Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.1a-45.el7 |
texlive-bibtopic-doc Red Hat:enterprise_linux:7::client | All versions | 2:svn15878.1.1a-45.el7 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Tug Tex Live.
How do I fix CVE-2018-17407?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-17407 being exploited?
There is no known exploitation of CVE-2018-17407 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-17407, DLA-1514-1, DSA-4299-1, GHSA-g32p-2jpf-2cg9, MGASA-2018-0397, RHSA-2020:1036 and 5 more.