CVE-2022-51015
JSON

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 packageVersionsReported by
pmmp PocketMine-MPbefore 4.0.6
Not affected: 4.0.6
CVE List
pocketmine/pocketmine-mp (Packagist)before 4.0.6GitHub Advisory Database

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-20

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:

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

SourceRecordLicence
CVE ListCVE-2022-51015 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-xh99-hw7h-wf63 changed 2026-09-08CC-BY-4.0
NVDCVE-2022-51015 changed 2026-11-10Public domain