SecurityContext

CVE-2023-32700: LuaTeX - Command Injection

  • Cve: CVE-2023-32700
  • Name: LuaTeX - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary shell commands on the system, potentially leading to full system compromise.
  • Remediation: Update to LuaTeX 1.17.0 or later, and update TeX Live to 2023 r66984 or later, or MiKTeX to 23.5 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00811
  • Epss percentile: 0.57871
  • Assignee: [email protected]
  • Published at: 2023-05-20T18:15:09Z
  • Age in days: 1284
  • Modified at: 2026-06-17T05:59:25Z
  • Patch available: yes
  • References total: 6
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-32700
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—
CWE-77Improper Neutralization of Special Elements used in a Command

References

Same in every row:

  • Source: nvd
UrlTags
https://tug.org/~mseven/luatex.htmlPatch, Vendor Advisory
https://github.com/TeX-Live/texlive-source/releases/tag/build-svn66984Release Notes
https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/tags/1.17.0Release Notes
https://tug.org/pipermail/tex-live/2023-May/049188.htmlRelease Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RLY43MIRONJSJVNBDFQHQ26MP3JIOB3H/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TF6YXUUFRGBIXIIIEV5SGBJXXT2SMUK5/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
tug:tex_live>= 2017, < 2023/v1/products/tug/tex_live
luatex_project:luatex>= 1.04, < 1.16.2/v1/products/luatex_project/luatex
miktex:miktex>= 2.9.6300, < 23.5/v1/products/miktex/miktex

Projects

RepositoryLink kindsIndexedUrl
TeX-Live/texlive-sourcereleasesyes/v1/repositories/TeX-Live/texlive-source

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts