
Proof-of-concept for native RCE in Minecraft: Java Edition via a crafted resource-pack TrueType font, exploiting a FreeType out-of-bounds write to hijack control flow.
Minecraft2Shell 💎
Minecraft2Shell is a proof-of-concept demonstrating native code execution in Minecraft: Java Edition through a specially crafted resource pack.
The vulnerability involves unsafe memory handling during TrueType font processing by the bundled FreeType library.
A malicious font can trigger an out-of-bounds memory write, potentially allowing an attacker to manipulate execution flow and execute native code within the Minecraft client process.
The published research demonstrates successful execution of Windows Calculator (calc.exe) using a stock, Mojang-signed Minecraft client.
| Attribute | Details |
|---|---|
| Project | Minecraft2Shell |
| Software | Minecraft: Java Edition |
| Confirmed PoC version | 26.3 |
| Tested platform | Windows x64 |
| Native component | FreeType |
| Tested FreeType | 2.14.3 |
| Root cause | Out-of-bounds write |
| Attack vector | Crafted resource-pack font |
| Security impact | Native code execution |
| Minecraft-specific CVE | Not assigned |
| Upstream tracking | FreeType #1419 |
| Related CVE | CVE-2026-10701 |
Important: CVE-2026-10701 is associated with the same underlying FreeType issue in Firefox. It is not a separately assigned Minecraft CVE.
| Classification | Description |
|---|---|
| CWE-787 | Out-of-bounds Write |
| CWE-119 | Improper Restriction of Operations within Memory Buffer |
| Attack Type | Memory Corruption |
| Impact | Arbitrary Native Code Execution |
| Component | TrueType Font Interpreter |
CVSS: No independently verified CVSS score for Minecraft2Shell is provided here. Do not assign a numerical score without a corresponding authoritative assessment.
The vulnerability occurs during TrueType font hinting.
Minecraft uses FreeType to process font information contained in resource packs.
The research identifies an unsafe operation involving the SHZ instruction in FreeType's TrueType interpreter.
The relevant source file is:
freetype/
└── src/
└── truetype/
└── ttinterp.c
The exploitation research describes the following sequence:
SHZ instruction processes a zone with an incorrect effective point boundary. Minecraft Java Client
|
v
Resource Pack Delivery
|
v
Crafted TrueType Font
|
v
FreeType Font Processing
|
v
SHZ Instruction
|
v
Out-of-Bounds Write
|
v
Interpreter Corruption
|
v
Control-Flow Hijack
|
v
Native ROP Chain
|
v
Windows API Calls
|
v
calc.exe
The distinction between a vulnerable component and a demonstrated exploit is important.
| Minecraft Java Edition | Assessment |
|---|---|
| 26.3 | Confirmed public PoC |
| 26.4 snapshots | Reported vulnerable; PoC demonstrated |
| 26.1–26.2 | Uncertain exploitability |
| 1.20.5–1.21.11 | Uncertain exploitability |
| 1.20.4 and older | Not affected by this specific FreeType attack path |
Research limitation: The original public PoC is build-specific. Its demonstrated execution targets Minecraft 26.3 on Windows x64 with FreeType 2.14.3.
The presence of a vulnerable FreeType code path in another version does not automatically prove that the published exploit works against it.
Original research repository:
https://github.com/bikini/minecraft2shell
https://github.com/user-attachments/assets/f8faf6d5-392a-446a-8da6-97abe8b7ebcc
Repository components:
minecraft2shell/
│
├── README.md
├── poc.py
├── bootstrap.py
├── resource-pack.zip
└── .gitignore
| Component | Purpose |
|---|---|
poc.py | Proof-of-concept orchestration |
bootstrap.py | Dependency preparation |
resource-pack.zip | Crafted font resource pack |
README.md | Exploitation research |
The demonstrated PoC uses a local Minecraft server and client to reproduce the issue.
Reproduction environment: Windows x64, 64-bit Python 3, Minecraft Java Edition 26.3.
Successful exploitation could potentially provide native code execution with the privileges of the affected Minecraft client.
Potential consequences include:
The impact is not limited to launching Calculator. Calculator is simply the demonstration payload.
Investigate unexpected process relationships such as:
Minecraft.exe
|
├── javaw.exe
|
└── Unexpected native process
|
└── Investigate immediately
This is a detection heuristic, not a definitive indicator of compromise.
FreeType 2.15.0 contains the upstream fix for the relevant issue.
A Minecraft installation must actually use the fixed native library for this mitigation to apply. Updating the standalone FreeType installation does not necessarily update Minecraft's bundled copy.
| Resource | Link |
|---|---|
| Original PoC | bikini/minecraft2shell |
| FreeType | freetype.org |
| FreeType issue | Issue #1419 |
| Related CVE | CVE-2026-10701 |
| Minecraft | minecraft.net |
This repository is intended for cybersecurity education, vulnerability analysis, and authorized security research.
All testing should be conducted in isolated environments with systems you own or have explicit permission to test.
Do not use this research to compromise systems, distribute malicious resource packs, or execute unauthorized code.
🔴 MINECRAFT2SHELL
MEMORY CORRUPTION • FREETYPE • NATIVE RCE
Understand the vulnerability. Analyze the attack surface. Improve security.

Advanced framework for extracting digital artifacts from volatile memory (RAM) samples, enabling deep forensic analysis of system runtime state across Windows, Linux, and macOS.

Portable Linux RAM acquisition tool for forensics and incident response, capturing LiME-compatible images with optional compression and remote streaming.

Digging Deeper....