Unpatched Minecraft2Shell RCE Flaw Hits Minecraft Java via Font Resource Packs

A public exploit called Minecraft2Shell lets malicious servers run code on Minecraft Java PCs through crafted TrueType font resource packs, with no confirmed fix.

9Minecraft Team

Unpatched Minecraft2Shell RCE Flaw Hits Minecraft Java via Font Resource Packs

A public remote code execution exploit dubbed Minecraft2Shell lets a malicious Minecraft: Java Edition server run arbitrary commands on a player's Windows PC by pushing a crafted font resource pack, cyberkendra.com and minecraft.pl reported. Published on November 22, 2026 by GitHub user bikini, the working proof of concept targets stock Minecraft Java 26.3 and opens Windows Calculator to prove code execution. As of November 25, no official Minecraft release or snapshot has been confirmed to bundle the patched FreeType 2.15.0 library, no Minecraft-specific CVE exists, and Mojang has issued no public advisory.

Although cyberkendra.com notes no real-world attacks against players had been publicly reported as of November 25, the barrier to abuse is low because the GitHub repository includes a ready-made "resource-pack.zip" and a one-command Python script. Any player who accepts an untrusted pack prompt, manually loads an unknown pack, or joins a saved server with Server Resource Packs set to Enabled—which loads packs silently—is exposed. In response, hosting provider squidservers.com switched off its resource pack hosting service altogether, explaining that reliably scanning font files at scale is impractical right now.

How the FreeType Font Exploit Works

The flaw sits inside FreeType, the native C font engine Minecraft: Java Edition bundles to render TrueType fonts—meaning memory corruption happens outside the Java virtual machine's safety checks, cyberkendra.com explained. According to minecraft.pl, the exploit pack contains 144 crafted TrueType font variants and triggers as soon as the server sends ordinary actionbar text. When FreeType runs the fonts' malicious hinting instructions, custom IDEF bytecode for the SHZ opcode ("0x36") triggers an out-of-bounds memory write, hijacks the library's error dispatcher, and runs an ASLR-aware ROP chain that resolves "GetModuleHandleExW", "kernel32.dll", and "WinExec" via "GetProcAddress"—launching Calculator and closing the game in the demo.

Malicious server resource packs carrying crafted TrueType fonts can trigger code execution in Minecraft Java.
Malicious server resource packs carrying crafted TrueType fonts can trigger code execution in Minecraft Java.
Minecraft2Shell triggers memory corruption inside Minecraft Java's bundled FreeType engine via crafted packs.
Minecraft2Shell triggers memory corruption inside Minecraft Java's bundled FreeType engine via crafted packs.

While the public demonstration only hits Minecraft Java 26.3 and 26.4 snapshots through Pre-Release 1 on 64-bit Windows—all bundling FreeType 2.14.3—the Wurst Wiki cited by cyberkendra.com and threatcluster.io warns players not to treat this as a 26.3-only or Windows-only threat. Every Java release since snapshot 24w03a (1.20.5) ships a vulnerable FreeType path across platforms; minecraft.pl adds that 26.1 and 26.2 bundle FreeType 2.14.1, where the author's test failed even though the underlying bug remains present. Versions 1.20.4 and older, including 1.8.9 and 1.12.2, rely on stb_truetype, which lacks TrueType hinting and is unaffected.

Minecraft Java Edition Exposure by Version
Java Edition VersionFont EnginePublic PoC StatusRisk Assessment
1.20.4 and older (incl. 1.8.9, 1.12.2)stb_truetypeUnaffectedSafe — no TrueType hinting support
1.20.5 to 26.2Vulnerable FreeType (2.14.1 on 26.1–26.2)Public PoC failed / build-specificUncertain — same unfixed bounds bug present
26.3 and 26.4 snapshots to Pre-Release 1FreeType 2.14.3Confirmed working on Windows x64High risk until FreeType 2.15.0+ ships
Upstream FreeType 2.15.0Patched FreeTypeFixed (issue #1419)Not yet confirmed in any Java release

The same FreeType boundary flaw already surfaced in Mozilla Firefox 151.0.3 under CVE-2026-10701 on June 2, 2026, and upstream FreeType closed issue #1419 (commit "1803559c4ee4") in FreeType 2.15.0 on October 12, 2026, cyberkendra.com reported. As industry.co.id highlighted, Minecraft 26.3 (released September 15) and 26.4 Pre-Release 1 remained on 2.14.3 over a month later. Minecraft.pl notes one reason for the lag: Mojang maintains its own "Mojang/freetype2" fork on GitHub, requiring a separate client update rather than automatically pulling upstream code.

  1. Mozilla publishes CVE-2026-10701 after fixing the same FreeType text boundary flaw in Firefox 151.0.3 (cyberkendra.com).

  2. Minecraft Java 26.3 ships bundled with vulnerable FreeType 2.14.3 (cyberkendra.com).

  3. Upstream FreeType 2.15.0 lands with commit "1803559c4ee4" fixing issue #1419 (cyberkendra.com).

  4. GitHub user bikini publishes the live Minecraft2Shell PoC targeting 26.3 on Windows x64 (cyberkendra.com, minecraft.pl).

  5. SquidServers disables pack hosting while unverified reports cite a slicedlime post about a launcher FreeType override (squidservers.com, threatcluster.io).

How to Protect Your PC Until Mojang Confirms a Patch

Squidservers.com emphasises that dedicated server software, host accounts, and server data are not targets of Minecraft2Shell, because the exploit executes purely on the player's machine when drawing text. Even where hosts disable pack delivery, a rogue server can still point clients at an external pack address—making client-side caution essential until an official FreeType 2.15.0 update lands.

Because Minecraft2Shell targets the player's game client rather than host servers, protection starts on your own PC.
Because Minecraft2Shell targets the player's game client rather than host servers, protection starts on your own PC.
  1. Open Multiplayer, select each saved server, click Edit, switch Server Resource Packs to Disabled, click Done, and reopen Edit to confirm it saved (cyberkendra.com).
  2. Click No on any resource-pack prompt from a server you do not fully trust—declining stops the exploit even if the server disconnects you for refusing a required pack.
  3. Avoid manually installing resource packs downloaded from unverified sources, since loading a malicious pack through the local Resource Packs menu triggers the same font path.
  4. If you rely on pack-heavy servers, temporarily run Minecraft Java 1.20.4 or older—available through the 9Minecraft wiki—and verify your active build in the top-left corner of the F3 debug screen.
  5. Install the official patched Java Edition update via the 9Minecraft wiki as soon as Mojang confirms FreeType 2.15.0 or newer is bundled.
Disabling Server Resource Packs for saved servers blocks untrusted packs from loading automatically on join.
Disabling Server Resource Packs for saved servers blocks untrusted packs from loading automatically on join.

For players staying on 1.20.5+, the GitHub group sunrisemc-tw published an unofficial minecraft2shell-fix Java agent and Fabric/Forge/NeoForge mod that disables FreeType hinting so font bytecode cannot run, cyberkendra.com and minecraft.pl reported. Both outlets and industry.co.id caution that the patch is unreviewed by Mojang and untested by Cyber Kendra. Meanwhile, threatcluster.io and squidservers.com note a reported announcement from Mojang's slicedlime suggesting the official launcher now overrides FreeType in vulnerable versions, though technical details remain unclear and unverified.

How Minecraft2Shell Differs From Java4Shell

Some players have conflated Minecraft2Shell with Java4Shell (CVE-2026-114938, early alias Java2Shell), another November flaw with a similar nickname. As minecraft.pl and threatdefence.com make clear, the two are unrelated: Oracle and OpenJDK already patched Java4Shell on November 17, 2026, after Calif researcher Quang Luong (with Albert Yang also credited) uncovered a HotSpot Base64 decoder heap overflow requiring x86-64 AVX-512 VBMI server CPUs. Threatdefence.com adds that CERT-EU rated Java4Shell CVSS 8.1 and GreyNoise logged 261 probing requests from 7 IPs by November 21 without confirmed compromises—targeting enterprise servers like Jira and Keycloak, whereas Minecraft2Shell attacks individual Minecraft players on any vulnerable client.

Minecraft2Shell (Unpatched)

  • Client-side FreeType TrueType hinting out-of-bounds write (cyberkendra.com)
  • Targets Minecraft: Java Edition players (1.20.5–26.4 Pre-Release 1)
  • Triggered by crafted server or local font resource packs; no CPU hardware limit (minecraft.pl)
  • No Minecraft-specific CVE or confirmed bundled FreeType 2.15.0 patch as of Nov 25

Java4Shell / CVE-2026-114938 (Patched)

  • JDK HotSpot Base64 decoder heap overflow (threatdefence.com)
  • Targets internet-facing Java servers (Java 17, 21, 25, 27) on AVX-512 VBMI CPUs
  • Triggered by malformed Base64 headers; ARM and Apple Silicon unaffected (threatdefence.com)
  • Patched by Oracle and OpenJDK on November 17, 2026 (CVSS 8.1 per CERT-EU)

What Players and the Community Are Saying

No YouTube creator breakdowns or video comment threads were attached to these reports, so we will not invent video reactions. Within the GitHub issue tracker itself, however, minecraft.pl and industry.co.id report sharp backlash against bikini for dropping a turnkey exploit publicly without giving Mojang time under responsible disclosure to ship a fix first. Uncertainty over patch status has also split threads: minecraft.pl noted user FinnT730 shared a screenshot claiming Mojang is actively fixing the flaw and l9hsed commented on November 24 that it appeared resolved, yet without an official Mojang statement players remain sceptical.

Custom-pack multiplayer servers face a tough interim choice: warn players off auto-loading packs or pause hosting.
Custom-pack multiplayer servers face a tough interim choice: warn players off auto-loading packs or pause hosting.

For custom-pack multiplayer communities, the interim trade-off is blunt: server owners must warn players off auto-loading packs—or halt pack hosting altogether as squidservers.com did—knowing many custom minigames and UI reskins break without server fonts. According to minecraft.pl, it remains unclear whether Mojang's official FreeType 2.15.0 fix will arrive inside the next 26.4 test build or deploy as a standalone hotfix outside the main release cycle.

Can Minecraft2Shell hack my dedicated Minecraft server?

No. Squidservers.com confirms the flaw runs strictly on a player's computer when the Java client renders a crafted font from a resource pack; dedicated server software is not affected.

Am I safe if a server kicks me after I decline its resource pack?

Yes. Cyberkendra.com notes that clicking No on a server resource-pack prompt blocks the published exploit even when the server disconnects you for refusing a mandatory pack.

Should I rely on the unofficial minecraft2shell-fix mod?

Treat it cautiously. While sunrisemc-tw's mod disables FreeType hinting on 1.20.5+, cyberkendra.com, minecraft.pl, and industry.co.id stress it has not been verified by Mojang; disabling untrusted packs or waiting for an official FreeType 2.15.0 update is safer.

How are you handling Minecraft Java multiplayer until Mojang confirms a FreeType 2.15.0 patch?

Tap an option to vote

Follow 9Minecraft News on Google

You May Also Like