CVE-2018-17407

Source
https://cve.org/CVERecord?id=CVE-2018-17407
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-17407
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (1)
RHSA (1)
SUSE (4)
UBUNTU (1)
Related
Published
2018-09-23T21:29:00Z
Modified
2026-08-07T14:48:31Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:tug:tex_live:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "2018-09-21"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "tug:tex_live"
        },
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                },
                {
                    "introduced":  "18.10"
                },
                {
                    "last_affected":  "18.10"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "extracted_events":  [
                {
                    "fixed":  "2018-09-21"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/tex-live/texlive-source

Affected ranges

Type
GIT
Repo
https://github.com/tex-live/texlive-source
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source":  "REFERENCES"
}

Affected versions

texlive-2018.*
texlive-2018.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17407.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "9791268591048681484189466533196366941",
                "224486063487720674053331003536961317759",
                "53123805931207764341912960437070621194",
                "46727596619073334453305375206035578971",
                "68478864391820934181172959969828339608"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-17407-1430cd7b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/dvipsk/writet1.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "22924009159388201154967308494624661853",
                "224070519679053124323349878276311203529",
                "123390893019550676027322074092248546979",
                "46727596619073334453305375206035578971",
                "68478864391820934181172959969828339608"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-17407-34d611c9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/web2c/luatexdir/font/writet1.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "212266903493370556945839331844847800932",
            "length":  419
        },
        "id":  "CVE-2018-17407-71885961",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/web2c/pdftexdir/writet1.c",
            "function":  "t1_check_unusual_charstring"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "154964959366713946884875089814441253435",
            "length":  375
        },
        "id":  "CVE-2018-17407-9dde0a3a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/web2c/luatexdir/font/writet1.c",
            "function":  "t1_check_unusual_charstring"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "212266903493370556945839331844847800932",
            "length":  419
        },
        "id":  "CVE-2018-17407-c3e04853",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/dvipsk/writet1.c",
            "function":  "t1_check_unusual_charstring"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "9791268591048681484189466533196366941",
                "224486063487720674053331003536961317759",
                "53123805931207764341912960437070621194",
                "46727596619073334453305375206035578971",
                "68478864391820934181172959969828339608"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-17407-cfd68eb4",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/tex-live/texlive-source/commit/6ed0077520e2b0da1fd060c7f88db7b2e6068e4c",
        "target":  {
            "file":  "texk/web2c/pdftexdir/writet1.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:48:31Z"