CVE-2023-32700: LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX file obtained from an u
42
This month
HIGH 7.8UPGRADEUPGRADEUPGRADE
CVE-2023-32700 is a high-severity flaw (CVSS 7.8) affecting luatex, miktex, tex live. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-32700?
luatex: upgrade to 1.16.2; miktex: upgrade to 23.5; tex live: upgrade to 2023. Exact commands for each OS are on this page.
Is CVE-2023-32700 being exploited?
CVE-2023-32700 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-32700 affect?
CVE-2023-32700 affects luatex, miktex, tex live. Severity is high (CVSS 7.8). 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 202
How urgent is CVE-2023-32700?
Priority 42/100. High severity
Related CVEs
CVE-2023-32668MEDIUM 5.5UPGRADEUPGRADE LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests