# CVE-2023-32700: LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX file obtained from an untrusted source.

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2023-05-20T00:00:00.000Z
- Modified: 2026-06-17T05:59:25.240Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX file obtained from an untrusted source. This occurs because luatex-core.lua lets the original io.popen be accessed. This also affects TeX Live before 2023 r66984 and MiKTeX before 23.5.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- luatex_project luatex: from 1.04 before 1.16.2
- miktex miktex: from 2.9.6300 before 23.5
- tug tex_live: from 2017 before 2023

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://tug.org/pipermail/tex-live/2023-May/049188.html> (release-notes)
- <https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/tags/1.17.0> (release-notes)
- <https://github.com/TeX-Live/texlive-source/releases/tag/build-svn66984> (release-notes)
- <https://tug.org/~mseven/luatex.html> (patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RLY43MIRONJSJVNBDFQHQ26MP3JIOB3H/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TF6YXUUFRGBIXIIIEV5SGBJXXT2SMUK5/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-32700](https://www.cve.org/CVERecord?id=CVE-2023-32700), CVE Terms of Use, modified 2025-01-31
- NVD: [CVE-2023-32700](https://nvd.nist.gov/vuln/detail/CVE-2023-32700), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-32700 · Whole record: https://cve.day/CVE-2023-32700.json · Rebuilt by cve.day 2026-11-25T22:58:24.289Z
