LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 15 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:luatex_project:luatex:*:*:*:*:*:*:*:* | 1.04 to before 1.16.2 | Vulnerable | Luatex Project |
| cpe:2.3:a:miktex:miktex:*:*:*:*:*:*:*:* | 2.9.6300 to before 23.5 | Vulnerable | Miktex |
| cpe:2.3:a:tug:tex_live:*:*:*:*:*:*:*:* | 2017 to before 2023 | Vulnerable | Tug |
- cpe:2.3:a:luatex_project:luatex:*:*:*:*:*:*:*:* Versions 1.04 to before 1.16.2 Vulnerable ·Luatex Project
- cpe:2.3:a:miktex:miktex:*:*:*:*:*:*:*:* Versions 2.9.6300 to before 23.5 Vulnerable ·Miktex
- cpe:2.3:a:tug:tex_live:*:*:*:*:*:*:*:* Versions 2017 to before 2023 Vulnerable ·Tug
Remediation
Red Hat 1 advisory
- RHSA-2023:3661 Released 2023-06-19 · Red Hat rating Importanttexlive security update
- Red Hat CodeReady Linux Builder EUS (v.8.6) texlive-lib-devel-7:20180414-26.el8_6
- Red Hat CodeReady Linux Builder EUS (v.9.0) texlive-gnu-freefont-9:20200406-26.el9_0, texlive-lib-devel-9:20200406-26.el9_0
- Red Hat Enterprise Linux AppStream (v. 8) texlive-7:20180414-29.el8_8, texlive-adjustbox-7:20180414-29.el8_8, texlive-ae-7:20180414-29.el8_8 +47
- Red Hat Enterprise Linux AppStream (v. 9) texlive-9:20200406-26.el9_2, texlive-adjustbox-9:20200406-26.el9_2, texlive-ae-9:20200406-26.el9_2 +47
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) texlive-7:20180414-15.el8_2, texlive-adjustbox-7:20180414-15.el8_2, texlive-ae-7:20180414-15.el8_2 +47
- Red Hat Enterprise Linux AppStream AUS (v.8.4) texlive-7:20180414-21.el8_4, texlive-adjustbox-7:20180414-21.el8_4, texlive-ae-7:20180414-21.el8_4 +47
- Red Hat Enterprise Linux AppStream E4S (v. 8.1) texlive-7:20180414-15.el8_1, texlive-adjustbox-7:20180414-15.el8_1, texlive-ae-7:20180414-15.el8_1 +47
- Red Hat Enterprise Linux AppStream E4S (v. 8.2) texlive-7:20180414-15.el8_2, texlive-adjustbox-7:20180414-15.el8_2, texlive-ae-7:20180414-15.el8_2 +47
- Red Hat Enterprise Linux AppStream E4S (v.8.4) texlive-7:20180414-21.el8_4, texlive-adjustbox-7:20180414-21.el8_4, texlive-ae-7:20180414-21.el8_4 +47
- Red Hat Enterprise Linux AppStream EUS (v.8.6) texlive-7:20180414-26.el8_6, texlive-adjustbox-7:20180414-26.el8_6, texlive-ae-7:20180414-26.el8_6 +47
- Red Hat Enterprise Linux AppStream EUS (v.9.0) texlive-9:20200406-26.el9_0, texlive-adjustbox-9:20200406-26.el9_0, texlive-ae-9:20200406-26.el9_0 +47
- Red Hat Enterprise Linux AppStream TUS (v. 8.2) texlive-7:20180414-15.el8_2, texlive-adjustbox-7:20180414-15.el8_2, texlive-ae-7:20180414-15.el8_2 +47
- Red Hat Enterprise Linux AppStream TUS (v.8.4) texlive-7:20180414-21.el8_4, texlive-adjustbox-7:20180414-21.el8_4, texlive-ae-7:20180414-21.el8_4 +47
- Red Hat Enterprise Linux CRB (v. 8) texlive-lib-devel-7:20180414-29.el8_8
- Red Hat Enterprise Linux CRB (v. 9) texlive-gnu-freefont-9:20200406-26.el9_2, texlive-lib-devel-9:20200406-26.el9_2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.8.6) | Fixed | RHSA-2023:3661 |
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.1) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.2) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream EUS (v.8.6) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream TUS (v. 8.2) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2023:3661 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:3661 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-32700
- 2026-10-03 Alias added: GHSA-7xcp-5fvh-7fwm
References
Sources
- CVE-2023-32700 · CVE Program
- CVE-2023-32700 · NVD
- FIRST EPSS
- GHSA-7xcp-5fvh-7fwm · GitHub Advisory Database · CC BY 4.0
- CVE-2023-32700 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences