Skip to content
Fencer Vulns
high 7.7

CVE-2022-35978 json

Lua sandbox escape from mod in Minetest

published 2022-08-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-38805

cvss
7.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

Minetest is a free open-source voxel game engine with easy modding and game creation. In **single player**, a mod can set a global setting that controls the Lua script loaded to display the main menu. The script is then loaded as soon as the game session is exited. The Lua environment the menu runs in is not sandboxed and can directly interfere with the user's system. There are currently no known workarounds.

Patch / fix

  • minetest minetest 5.6.0
  • minetest Debian 12 5.5.0+dfsg+~1.9.0mt4+dfsg-2

debian advisories DEBIAN-CVE-2022-35978

  • luanti openSUSE Tumbleweed 5.11.0-1.1
  • minetest Package Hub 15 SP4, Package Hub 15 SP3, openSUSE Leap 15.4 +1 more 5.6.0-bp154.2.3.5

opensuse advisories openSUSE-SU-2025:14825-1openSUSE-SU-2023:0001-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-35978 updated cvss 7.7

minetest: new security issue CVE-2022-35978

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

3.08% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L
NVD 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

  • minetest minetest

Classification

Weakness
  • CWE-693 Protection Mechanism Failure

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.