7.1high
PocketMine-MP before 4.0.6 Denial of Service via PlayerActionPacket
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-xh99-hw7h-wf63
Description
PocketMine-MP before 4.0.6 does not validate facing values in PlayerActionPacket (for START_BREAK and CRACK_BREAK actions) or in UseItemTransactionData (typically within InventoryTransactionPacket). A remote authenticated attacker can send crafted packets with invalid facing values (e.g., negative or out-of-range) to crash the server, resulting in a denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pmmp PocketMine-MP | before 4.0.6 Not affected: 4.0.6 | CVE List |
| pocketmine/pocketmine-mp (Packagist) | before 4.0.6 | GitHub Advisory Database |
All scores
| VulnCheck | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
PocketMine-MP before 4.0.6 does not validate facing values in PlayerActionPacket (for START_BREAK and CRACK_BREAK actions) or in UseItemTransactionData (typically within InventoryTransactionPacket). A remote authenticated attacker can send crafted packets with invalid facing values (e.g., negative or out-of-range) to crash the server, resulting in a denial of service.
GitHub Advisory Database
Impact
A remote attacker may crash a server by sending PlayerActionPacket with invalid facing values (e.g. negative), specifically with START_BREAK or CRACK_BLOCK actions, or with a UseItemTransactionData (typically in InventoryTransactionPacket).
Patches
f126479c37ff00a717a828f5271cf8e821d12d6c
Workarounds
Using a plugin, cancel DataPacketReceiveEvent if the packet is PlayerActionPacket and the facing is outside the range 0-5 when receiving START_BREAK or CRACK_BLOCK actions, or UseItemTransactionData. However, beware that negative values may be legitimate in some cases.
For more information
If you have any questions or comments about this advisory:
- Email us at team@pmmp.io
NVD (es)
PocketMine-MP versiones anteriores a la 4.0.6 no valida los valores de orientación en PlayerActionPacket (para las acciones START_BREAK y CRACK_BREAK) o en UseItemTransactionData (típicamente dentro de InventoryTransactionPacket). Un atacante remoto autenticado puede enviar paquetes manipulados con valores de orientación no válidos (por ejemplo, negativos o fuera de rango) para bloquear el servidor, lo que resulta en una denegación de servicio.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-51015 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xh99-hw7h-wf63 changed 2026-09-08 | CC-BY-4.0 |
| NVD | CVE-2022-51015 changed 2026-11-10 | Public domain |