Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-32668: n/a

0
Medium
VulnerabilityCVE-2023-32668cvecve-2023-32668
Published: Thu May 11 2023 (05/11/2023, 00:00:00 UTC)
Source: CVE Database V5

Description

LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests. This occurs because full access to the socket library is permitted by default, as stated in the documentation. This also affects TeX Live before 2023 r66984 and MiKTeX before 23.5.

AI-Powered Analysis

AILast updated: 11/03/2025, 23:53:44 UTC

Technical Analysis

CVE-2023-32668 is a vulnerability in LuaTeX, a TeX engine that integrates the Lua scripting language, which allows documents compiled with default settings to perform arbitrary network requests. This occurs because the socket library is enabled by default without restrictions, permitting Lua scripts embedded in TeX documents to open network connections. The vulnerability affects LuaTeX versions before 1.17.0, TeX Live distributions before 2023 r66984, and MiKTeX versions before 23.5. An attacker can craft a malicious TeX document that, when compiled or processed by a vulnerable engine, initiates network connections potentially leaking sensitive information or communicating with attacker-controlled servers. The CVSS 3.1 base score is 5.5 (medium severity), reflecting that exploitation requires local access and user interaction but no privileges, and impacts confidentiality without affecting integrity or availability. No known exploits have been reported in the wild. The vulnerability highlights the risk of enabling powerful scripting capabilities with network access in document processing tools, which are often trusted and widely used in academic, publishing, and research environments.

Potential Impact

For European organizations, this vulnerability could lead to unauthorized data exfiltration or network reconnaissance if malicious TeX documents are processed in vulnerable environments. Academic institutions, research centers, and publishing houses that frequently use LuaTeX or TeX Live/MiKTeX distributions are particularly at risk. Confidential information embedded in documents or accessible during compilation could be leaked. Although the vulnerability does not directly compromise system integrity or availability, the ability to make arbitrary network requests can facilitate further attacks such as command and control communication or data leakage. The requirement for user interaction (opening or compiling a malicious document) limits large-scale automated exploitation but does not eliminate targeted attacks. Organizations relying on automated document processing pipelines should be cautious, as these could be abused to trigger the vulnerability without direct user action.

Mitigation Recommendations

1. Upgrade LuaTeX to version 1.17.0 or later, and update TeX Live to 2023 r66984 or newer, and MiKTeX to version 23.5 or later to apply official patches that restrict socket library access. 2. Configure LuaTeX and related TeX engines to disable or sandbox network capabilities where possible, especially in automated or multi-user environments. 3. Implement strict document handling policies to verify the source and integrity of TeX documents before processing. 4. Use network-level controls such as firewall rules or application-layer proxies to restrict outbound connections from systems used for document compilation. 5. Educate users about the risks of opening untrusted TeX documents and encourage scanning or sandboxing before processing. 6. Monitor network traffic from document processing systems for unusual outbound connections that could indicate exploitation attempts.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2023-05-11T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69092630fe7723195e0b5f47

Added to database: 11/3/2025, 10:01:20 PM

Last enriched: 11/3/2025, 11:53:44 PM

Last updated: 11/5/2025, 10:34:21 PM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats