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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | texlive-bin | 2022.20220321.62855-6 | — |
| Debian 13 | texlive-bin | 2022.20220321.62855-6 | — |
| Debian 12 | texlive-bin | 2022.20220321.62855-5.1+deb12u1 | — |
| Debian 11 | texlive-bin | 2020.20200327.54578-7+deb11u2 | DLA-3941-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | texlive-bin | 2021.20210626.59705-1ubuntu0.2 | USN-6695-1 |
| Ubuntu 20.04 LTS | texlive-bin | 2019.20190605.51237-3ubuntu0.2 | USN-6695-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | texlive-bin | 2017.20170613.44572-8ubuntu0.2+esm1 | — |
| Ubuntu Pro 16.04 LTS | texlive-bin | 2015.20160222.37495-1ubuntu0.1+esm1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | texlive | 2023.20230311.svn34398-90.1 | openSUSE-SU-2024:12936-1 |
Advisories 3
- USN-6695-1 texlive-bin vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-3941-1 texlive-bin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:12936-1 libkpathsea6-6.3.5-90.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://tug.org/pipermail/tex-live/2023-May/049188.html
- https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/tags/1.17.0
- https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/b266ef076c96b382cd23a4c93204e247bb98626a/source/texk/web2c/luatexdir/ChangeLog#L1-L3
- https://tug.org/~mseven/luatex.html#luasocket