Minecraft Java Bug Let Crafted Fonts Run Code on Windows

Minecraft Java Bug Let Crafted Fonts Run Code on Windows

Hennadiy Chemeris
Today, 16:48

The flaw affected the Windows client, where Minecraft Java 26.3 processed attacker-supplied TrueType fonts through its bundled FreeType 2.14.3 parser. It could be triggered with a server-delivered resource pack and ordinary actionbar text, although players connecting to an untrusted server still had to accept the usual resource-pack prompt before the font was processed.

The proof of concept, developed by the researcher bikini, used a benign payload that launched Windows Calculator and then closed the Minecraft client. The exploit was specific to the tested Minecraft Java 26.3 Windows build, and its author did not claim it worked on other Minecraft or FreeType builds.

To improve the odds of success, the resource pack included 144 TrueType font variants and 144 JSON font definitions. A server could supply the pack and send the actionbar text that triggered the vulnerability.

VGTimes reported on November 25 that the vulnerability had been fixed, with the update delivered through the official launcher. The proof-of-concept resource pack is also available on GitHub.

We also have a guide for the game: How to Quickly Acquire Netherite in Minecraft?

Would you accept a server's resource pack after this exploit?

    About the author
    Comments0