Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


minecraft2shell

This is an old revision of the document!


Minecraft2Shell Vulnerability

Minecraft2Shell is a remote-code-execution (RCE) vulnerability affecting Minecraft: Java Edition.

Server owners can exploit this vulnerability by sending a specially crafted resource pack. If accepted, this resource pack can then force your computer to run arbitrary code.

Minecraft2Shell was published on November 22, 2026 by GitHub user bikini.1)

Root cause

A resource pack can supply a TrueType font containing hinting instructions, small programs that adjust letter shapes to fit the pixel grid. Minecraft asks FreeType to draw a glyph, and due to a FreeType bug, the crafted instructions then trigger an out-of-bounds write in native memory.

Affected versions

While bikini's proof-of-concept only demonstrates Minecraft 26.3 on Windows, vulnerable FreeType versions are used in all Minecraft: Java Edition versions since 24w03a (1.20.5) on all platforms. This should not be treated as a 26.3-only or Windows-only bug!

FreeType 2.15.0 fixes the bug, but at the time of writing, no Minecraft version exists that has updated to this FreeType version.

Minecraft VersionStatusNotesWorkarounds
26.4-snapshot-10VulnerableStill uses FreeType 2.14.3.Do not accept resource packs.
26.3VulnerableVersion used in bikini's proof-of-concept.Do not accept resource packs.
26.2VulnerableUses FreeType 2.14.1, which has the same unfixed bounds calculation.Do not accept resource packs.
26.1.xVulnerableUses FreeType 2.14.1, which has the same unfixed bounds calculation.Do not accept resource packs.
1.21.xVulnerableUses FreeType 2.13.2, which has the same unfixed bounds calculation.Do not accept resource packs.
1.20.6VulnerableUses FreeType 2.13.2, which has the same unfixed bounds calculation.Do not accept resource packs.
1.20.5VulnerableUses FreeType 2.13.2, which has the same unfixed bounds calculation.Do not accept resource packs.
1.20.4 and olderNot affectedDoes not use FreeType.Relax, you're good. =)

CVEs and bug tracker IDs

No Minecraft-specific CVE or Mojang bug tracker ID has been assigned. The underlying FreeType bug is tracked under FreeType #1419. The same bug affected Firefox 6 months earlier and was assigned CVE-2026-10701.

minecraft2shell.1795530807.txt.gz · Last modified: by alexander01998