#VU125430 Time-of-check Time-of-use (TOCTOU) Race Condition in PocketMine-MP
Published: April 8, 2026
PocketMine-MP
PMMP
Description
The vulnerability allows a remote attacker to duplicate items and XP drops.
The vulnerability exists due to improper state validation in the entity attack handler when processing attack packets for entities marked for despawn. A remote attacker can send a timed attack against a player entity during disconnect handling to duplicate items and XP drops.
Exploitation requires precise timing during the short interval after the target player has initiated disconnect and before the entity is removed from the world's entity table.