Minecraft2Shell: How a Booby-Trapped Font in a Resource Pack Became Remote Code Execution in Minecraft Java

November 26, 2026
Profile Icon

Jason Franscisco

Most teams will skim the Minecraft2Shell headlines and move on: a video game, a Calculator popping open, no CVE, no CVSS score. That reading is wrong, and not because of Minecraft.

This is a clean, public example of the bug class that hurts enterprises most: a native C library, bundled in a product nobody inventories, parsing untrusted content, with a fix that existed upstream for months. Below we cover how it works, what the write-ups miss, how to contain it this week, and how Loginsoft helps.

Key Takeaways

  • Minecraft2Shell RCE: A malicious Minecraft Java resource pack can exploit a vulnerability in the FreeType font library to execute arbitrary code on a player's Windows system.
  • Hidden Third-Party Risk: The vulnerability highlights how outdated, bundled native libraries can expose applications to attacks, even when no dedicated CVE exists for the affected product.
  • Mitigation and Detection: Update the Minecraft launcher, disable server resource packs for untrusted servers, avoid unknown resource packs, and monitor suspicious child processes spawned by Java clients.

Minecraft2Shell at a Glance: A Public Exploit Against a Bundled Font Library

On November 22, 2026, GitHub user "bikini" published a proof of concept showing that a Minecraft Java server can run code on a player's Windows PC. The server delivers a resource pack with crafted TrueType fonts, then sends ordinary text, such as action bar text. The demo opens Calculator and closes the game.

Item Detail
Component FreeType, the open-source font engine bundled in Minecraft: Java Edition (TrueType hinting code)
Bug class Out-of-bounds heap write in native code, leading to code execution
CVE / CVSS None for Minecraft. Coverage links the bug to CVE-2026-10701, a Firefox CVE fixed in 151.0.3
Our severity view High. Public, low-effort, full code execution as the player. Offset by the need for the pack to load and a PoC built for one build
Affected Confirmed: 26.3 and 26.4-snapshot-10 on Windows x64 (FreeType 2.14.3). Treat as vulnerable: 26.1 to 26.2 and 1.20.5 to 1.21.11 (bug reportedly present, PoC failed as built)
Not affected Java 1.20.4 and older (no hinting support). Bedrock Edition is reported not affected
In the wild No public reports of attacks as of November 25, 2026

Patch status: verify, do not assume

Both sources (November 24 and 25) say Mojang had shipped no fix. Later reports say the official launcher now overrides FreeType with a patched version, per an announcement attributed to slicedlime. We could not verify the mechanism or covered versions. Treat launcher-managed installs as probably mitigated, and confirm before closing the risk.

Impact: code runs as the logged-in user. On a work device that means browser sessions, cloud tokens, SSH keys, and VPN profiles, plus a foothold for lateral movement. No admin rights needed.

Find every endpoint and product carrying a vulnerable FreeType.

Our threat researchers map a single vulnerability to the assets and components that matter, then rank them by real exploitability.

Talk to our research team

Inside the Exploit: From a TrueType Hint to WinExec

We have not reproduced this exploit. This analysis draws on the public PoC as described by several outlets, upstream FreeType disclosures, and Mozilla and NVD records. Our own interpretation is labeled.

Why a font can run code

TrueType fonts can carry hinting bytecode that a small virtual machine inside FreeType runs to fit glyphs to the pixel grid. That interpreter is native C code, reached from Minecraft through the LWJGL FreeType bindings, so it sits outside the JVM's memory safety. The path has shipped since snapshot 24w03a (the line that led to 1.20.5), which is why 1.20.4 and older are unaffected.

The root cause: a miscalculated loop limit in SHZ

The sources describe a bounds bug in FreeType's hinting code and cite the SHZ opcode (0x36) and fix commit 1803559c4ee4. A June 6, 2026 oss-security post matches both: Google Project Zero's Mateusz Jurczyk disclosed a heap overflow in the SHZ (Shift Zone) instruction. In composite glyphs, the loop limit is miscalculated, causing out-of-bounds reads and writes in Move_Zp2_Point. It was confirmed on FreeType 2.14.3. (Issue numbers differ between sources, #1419 versus 1420, but the commit matches.)

In plain terms (our interpretation): SHZ shifts every point in a glyph zone. The loop is allowed to touch too many points, so it runs past the end of a heap array. The attacker writes the bytecode, so they shape what is written.

The exploit chain

Step What happens
1. Delivery Server sends a pack with 144 crafted TrueType font variants and matching JSON definitions
2. Trigger Server sends plain text in the malicious font. The client hints the glyphs
3. Corruption The SHZ bug causes an out-of-bounds heap write
4. Control The font’s IDEF bytecode hijacks FreeType’s error dispatcher and starts a ROP chain
5. API lookup The chain uses the import table to call GetModuleHandleExW, finds kernel32.dll, then resolves WinExec with GetProcAddress
6. Execution WinExec launches a program. The PoC opens Calculator

Cyber Kendra calls the control transfer ASLR-aware, which fits the import-table lookup. The 144 variants are reported as a way to improve success odds. Our read: that is reliability engineering, so this exploit was built to run on real machines.

How an attacker gets the pack loaded

  • Prompt accepted. The published demo does not bypass the consent prompt for an ordinary player.
  • No prompt at all. Server Resource Packs set to Enabled, or a previously trusted server, loads the pack silently.
  • Manual install through the Resource Packs menu reaches the same code.
  • Hijacked server or pack host (our analysis). A trusted channel becomes the delivery route.
  • Servers themselves do not render fonts. Exposure sits on players' machines, and on admins' machines if they test untrusted packs.

The 173-Day Gap: How a Fixed Font Bug Reached Minecraft

Date (2026) Event
June 2 Mozilla publishes CVE-2026-10701 (“Incorrect boundary conditions in the Graphics: Text component”), fixed in Firefox 151.0.3
June 6 oss-security discloses the FreeType SHZ overflow. The fix commit is already public
September 15 Minecraft 26.3 ships with FreeType 2.14.3
October 12 FreeType 2.15.0 is released with the fix
November 22 Public PoC appears on GitHub, reportedly with no prior private report to Mojang
November 24 to 26 Sources report no Mojang fix, then unverified reports of a launcher-side FreeType override

From the Firefox fix to the public Minecraft exploit is 173 days. One caveat: Mozilla's advisory credits a different reporter and describes the flaw only generally, so the link to the SHZ bug comes from press coverage. We treat it as likely, not confirmed.

What this tells us

  • The fix was public long before the exploit. That is the shape of an n-day. The sources do not say how bikini found the bug, but defenders should treat public fix commits as blueprints.
  • Downstream lag is the real vulnerability. 26.3 shipped on a FreeType release that still had the bug, months after the fix was public. Mojang also keeps its own FreeType fork, so upstream releases and OS patches do not help.
  • Bundled native libraries hide from scanners (our analysis). Java dependency scanners read package coordinates. A C library compiled into a native binary has none, so finding it takes binary-aware, component-level inventory.
  • No CVE does not mean no risk. The only CVE in this story belongs to Firefox, so NVD-matching tools report nothing. The early signals came from GitHub, press, and community wikis.
  • FreeType 2.14.3 is a cluster of risk. The June batch also covered an IUP integer overflow, a tt_interpolate_deltas signedness mismatch, and a COLR over-read. CVE-2026-50811 (out-of-bounds read, CVSS 6.5) also affects 2.14.3. CVE-2025-27363, a FreeType out-of-bounds write, was flagged as possibly exploited in the wild. Track the bundled version, not one CVE at a time.
  • The consent prompt is a speed bump, not a control. Players accept packs constantly, and Enabled servers skip the prompt.

Same-week context: Java4Shell (CVE-2026-114938, disclosed November 17, CVSS 4.0 of 9.2 per Phoronix) is a separate OpenJDK Base64 flaw on AVX-512 x86-64 CPUs. Minecraft servers run Java lines in its range, so a hosting operation could face Java4Shell on the server and Minecraft2Shell on the player.

Why a Game Bug Is Still an Enterprise Problem

  • Unmanaged software on managed devices. Users install Minecraft themselves, including on work and BYOD laptops, and it rarely appears in inventories.
  • Pack hosting is a supply chain link. SquidServers disabled pack uploads and downloads on November 24 as a precaution. A breached host hands attackers a trusted channel.
  • Blast radius is the user, not the game. A payload as the logged-in user can reach tokens, keys, and sessions.
  • The pattern generalizes. Any product that embeds FreeType and renders fonts it did not author faces the same question: which version, and who patches it?

CATCH BUNDLED-LIBRARY BUGS EARLY

Get the signal before the CVE exists.

LOVI surfaces vulnerabilities before NVD, scores exploit maturity, and alerts you by product.

Try LOVI for free

Containing Minecraft2Shell This Week: A Practical Playbook

Community guidance from the sources is combined with our own recommendations, which are marked.

Within 24 hours

  • Update and restart the official launcher. Check release notes for FreeType 2.15.0 or later, or a documented override. Do not assume the restart fixed it.
  • Set Server Resource Packs to Disabled for servers you do not fully trust, and confirm it saved. Since 1.20.3 this is honored even when a server requires a pack, so you cannot join those servers.
  • Click No on unfamiliar pack prompts, and never install packs manually from unknown sources.
  • Block the launcher on managed endpoints with no business need, and hunt with the queries below (our recommendation).

This week

  • Inventory and restrict (our recommendation). Find Minecraft with the inventory query. Block TCP 25565 and pack-host downloads where there is no business use.
  • Cut the blast radius (our recommendation). Run as a standard user, and keep games out of profiles that hold browser sign-ins, tokens, or SSH keys. A separate profile or VM is better.
  • Be careful with the unofficial fix. minecraft2shell-fix (sunrisemc-tw) disables FreeType hinting for 1.20.5 and later. Mojang has not reviewed it and Cyber Kendra has not tested it. Review the source, and do not push it to a fleet.
  • Rollback is a last resort. 1.20.4 and older are unaffected, but they break modern servers and carry their own risk.

Server operators

  • Distribute only packs you built or fully trust, keep them optional, and host them on infrastructure you control with protected credentials.
  • Pin the exact file with a SHA-1 hash, and never test unknown packs on your admin machine.
# server.properties 

resource-pack=https://packs.example.com/server-pack-v12.zip 

resource-pack-sha1=<sha1-of-the-exact-zip-you-built> 

require-resource-pack=false 

Detection and inventory (Microsoft Defender for Endpoint)

Starting points only. Tune for legitimate mods that launch helper processes.

// 1) Suspicious child processes of the Minecraft Java client 
DeviceProcessEvents 
| where Timestamp > ago(30d) 
| where InitiatingProcessFileName in~ ("javaw.exe", "java.exe") 
| where InitiatingProcessCommandLine has_any (".minecraft", "net.minecraft.client") 
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "calc.exe", "mshta.exe", 
    "wscript.exe", "cscript.exe", "rundll32.exe", "certutil.exe", "bitsadmin.exe", "curl.exe") 
| project Timestamp, DeviceName, AccountName, InitiatingProcessCommandLine, FileName, ProcessCommandLine 
  
// 2) Where is Minecraft Java running? 
DeviceProcessEvents 
| where Timestamp > ago(30d) 
| where FileName in~ ("javaw.exe", "java.exe") 
| where ProcessCommandLine has_any (".minecraft", "net.minecraft.client") 
| summarize LastSeen = max(Timestamp), Users = make_set(AccountName) by DeviceName 

Structural fixes

  • Keep an SBOM that includes native libraries, and record the FreeType version in every product that embeds it.
  • Track bundled-library fixes by component, with an internal service level for how fast upstream fixes reach your builds. Use pre-NVD sources so "no CVE" issues still reach your queue.
  • Test Windows Exploit Protection options, such as export and import address filtering, for the Java client in audit mode first. They can break Java apps (our recommendation).

How Loginsoft Helps You Find and Prioritize Bugs Like This Before They Go Public

At Loginsoft, we have analyzed more than 20,000 CVEs and discovered more than 1,000 zero-days. The exposures that hurt are the ones outside the standard feed, and Minecraft2Shell fits that pattern.

The gap How Loginsoft helps Learn more
No CVE, so no alert LOVI surfaces vulnerabilities before NVD from advisories, researcher blogs, and social media. It adds AI threat scores with exploit maturity, EPSS, CISA KEV, and ATT&CK mapping, with alerts by product. LOVI
Is it being exploited? Threat Intelligence services add exploit maturity, ATT&CK-mapped behavior, IoC feeds, and SIEM, SOAR, and TIP integrations. Cytellite’s sensor network shows what attackers scan for. Threat Research & Intelligence
Cytellite
Hidden, bundled components Expert-enriched CVE intelligence for SCA platforms, code-level analysis, and Dependency Defense. We can scope component-level tracking, including bundled libraries, in an engagement. Software Supply Chain Security
What else is exposed? External Attack Surface Discovery maps internet-facing assets, flags shadow IT, and ranks exposures by exploitability, from pack hosts to forgotten endpoints. Threat Research & Intelligence
Unknown bugs in your parsers Zero-day research using static analysis, dynamic analysis, and fuzzing, with root cause reports, PoC findings, and responsible disclosure. Software Supply Chain Security
How exploitable is this CVE? With Vulnerability Research Labs, the AI-XI index has an agent try to build an exploit and returns a 1 (easy) to 5 (hard) score, never the exploit. Vulnerability Research Labs
A response to the next Minecraft2Shell

READY WHEN THE NEXT ONE DROPS

Turn the next public exploit into a fast, prioritized response.

Book a meeting with our researchers to review your exposure to bundled libraries and vulnerabilities that have no CVE yet.

Book a Meeting

Minecraft2Shell FAQs

Q1. What is Minecraft2Shell?

Minecraft2Shell is a public proof of concept, published on November 22, 2026, that achieves remote code execution on Minecraft Java Edition clients. A server delivers a resource pack with crafted TrueType fonts, and rendering ordinary text triggers an out-of-bounds write in the FreeType font library, which leads to code running on the player's Windows PC.

Q2. Does Minecraft2Shell have a CVE or CVSS score?

No. As of the source reports from November 24 and 25, 2026, no CVE or CVSS score has been assigned to the Minecraft exposure. Coverage links the underlying FreeType bug to CVE-2026-10701, which Mozilla fixed in Firefox 151.0.3, but that link is not confirmed by Mozilla's own advisory.

Q3. Which Minecraft versions are affected by Minecraft2Shell?

The proof of concept works on Minecraft Java 26.3 and 26.4-snapshot-10 on 64-bit Windows, both bundling FreeType 2.14.3. Versions 26.1 to 26.2 and 1.20.5 to 1.21.11 are uncertain and should be treated as vulnerable. Versions 1.20.4 and older are not affected because they do not use FreeType hinting.

Q4. Can I be hacked just by joining a Minecraft server?

The published demonstration does not bypass the resource pack consent prompt, so a normal player has to accept the pack. However, if Server Resource Packs is set to Enabled for a server, or you previously trusted it, the pack loads without a prompt. Set the option to Disabled for servers you do not fully trust.

Q5. Is Minecraft2Shell patched?

Upstream FreeType fixed the bug in version 2.15.0, released October 12, 2026. Source articles from November 24 and 25 found no Minecraft release carrying the fix. Later reports say the official launcher now overrides the vulnerable FreeType library with a patched one. Update and restart the launcher, then verify before treating the risk as closed.

Q6. How do I protect myself from Minecraft2Shell?

Update and restart the official Minecraft launcher, set Server Resource Packs to Disabled for untrusted servers, decline unexpected pack prompts, and never install resource packs manually from unknown sources. Avoid running Minecraft on work devices. Security teams should hunt for unusual child processes spawned by javaw.exe.

Q7. Are Minecraft Bedrock Edition and Minecraft servers affected?

Bedrock Edition and Bedrock Dedicated Server are reported as not affected, because the bug is specific to the Java client. Dedicated Java servers do not render fonts, so exposure sits on players' machines, and on administrators' machines if they open untrusted packs in a client.

Q8. What is the FreeType vulnerability behind Minecraft2Shell?

FreeType is an open-source font rendering library. The bug appears to match a flaw in its TrueType bytecode interpreter, where the SHZ (Shift Zone) instruction, run on composite glyphs, miscalculates a loop limit and reads and writes past the end of heap memory. Google Project Zero's Mateusz Jurczyk disclosed that SHZ flaw, and FreeType 2.15.0 fixes it.

Q9. Is Minecraft2Shell related to Java4Shell?

No. Java4Shell (CVE-2026-114938), disclosed on November 17, 2026, is a heap out-of-bounds write in OpenJDK's AVX-512 Base64 decoder that affects Java workloads on specific x86-64 CPUs. Minecraft2Shell is a client-side FreeType flaw that does not depend on CPU features. Both touch the Minecraft ecosystem, but they are separate bugs.

Sources