mojira.dev
MC-305468

Client hangs and crashes when placing a slime spawn egg with extremely large Size and minecraft:scale attribute values

Client hangs and crashes when placing a slime spawn egg with extremely large Size and minecraft:scale attribute values.
This can be used in a malicious way to crash other players on multiplayer servers.

To recreate it:

/give @p slime_spawn_egg[entity_data={id:"minecraft:slime",Size:100000,attributes:[{id:"minecraft:scale",base:100000}]}] 1

It can also be done with phantoms:

/give @p phantom_spawn_egg[entity_data={id:"minecraft:phantom",attributes:[{id:"minecraft:scale",base:100000}]}] 1

Environment

Minecraft version: 1.21.11

Launcher: Official Launcher

OS: Windows 10

Mods: None

Datapacks: None

Attachments

Comments 0

No comments.

0x7

(Unassigned)

Confirmed

Platform

Important

Items, Mob spawning

1.21.11

Retrieved