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. Manually installing and then enabling a resource pack can also trigger this vulnerability.
Minecraft2Shell was published on November 22, 2026 by GitHub user bikini.1)
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.
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.
An announcement from slicedlime suggests that the official Minecraft launcher now overrides the FreeType dependency in vulnerable Minecraft versions to a patched version. Details are not yet clear, 26.4-pre-1 remains untested.
| Minecraft version(s) | Status | Notes | Workarounds |
|---|---|---|---|
| 26.4-snapshot-10 | Vulnerable | Still uses FreeType 2.14.3. bikini's proof-of-concept still works here. | Don't accept resource packs from untrusted servers and don't manually install untrusted resource packs. |
| 26.3 | Vulnerable | Version used in bikini's proof-of-concept. Independently reproduced. | Don't accept resource packs from untrusted servers and don't manually install untrusted resource packs. |
| 26.1 - 26.2 | Uncertain | Uses FreeType 2.14.1, which has the same unfixed bounds calculation, but running bikini's proof-of-concept against it failed. Cause seems to be a second bug FreeType #1403 which seems to accidentally protect against bikini's exploit. A modified version of the attack may still be possible. | Don't accept resource packs from untrusted servers and don't manually install untrusted resource packs. |
| 1.20.5 - 1.21.11 | Uncertain | Uses FreeType 2.13.2, which has the same unfixed bounds calculation, but running bikini's proof-of-concept against it failed. Cause seems to be a second bug FreeType #1403 which seems to accidentally protect against bikini's exploit. A modified version of the attack may still be possible. | Don't accept resource packs from untrusted servers and don't manually install untrusted resource packs. |
| 1.20.4 and older | Not affected | Does not use FreeType. The older stb_truetype library doesn't support TrueType hinting at all, so the attack is impossible here. | Relax, you're good. |
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.