GitHub Advisoryadvisory · Packagist

GHSA-7hmv-4j2j-pp6f PocketMine-MP: Network amplification vulnerability with `ActorEventPacket`

MEDIUM Published 2026-04-06 Modified 2026-04-06 Official page ↗
Ecosystem
Packagist
Packages
pocketmine/pocketmine-mp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-406
Reviewed
2026-04-06

Affected packages

• Packagist pocketmine/pocketmine-mp: < 5.39.2 → fixed in 5.39.2

Description

Impact The server handles `ActorEventPacket` to trigger consuming animations from vanilla clients when they eat food or drink potions. This can be abused to make the server spam other clients, and to waste server CPU and memory. For every `ActorEventPacket` sent by the client, an animation event will be sent to every other player the attacker is visible to. This is similar to various other vulnerabilities which were fixed in the network overhaul of PM4 (e.g. `AnimatePacket` and `LevelSoundEventPacket`), but somehow this one slipped through the net. Patches The problem was addressed in aeea1150a772a005b92bd418366f1b7cf1a91ab5 by changing the mechanism for consuming animations to be fully controlled by the server. `ActorEventPacket` from the client is now discarded. Workarounds A plugin could use `DataPacketDecodeEvent` to rate-limit `ActorEventPacket` to prevent the attack.

Related

Weakness · CWE (1)

  • CWE-406 Insufficient Control of Network Message Volume (Network Amplification) weakness

References