7.1high
PocketMine-MP before 4.2.9 Denial of Service via NBT Deserialization
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.51% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-g5rr-p69h-7v3g
Description
PocketMine-MP versions before 4.2.9 fail to properly validate NBT data types during deserialization of inventory transaction packets from clients. Attackers can send crafted inventory transactions with malformed NBT tags to trigger server crashes and cause denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pmmp PocketMine-MP | before 4.2.9 Not affected: 4.2.9 | CVE List |
| pocketmine/pocketmine-mp (Packagist) | before 4.2.9 | 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
What each source says
CVE List
PocketMine-MP versions before 4.2.9 fail to properly validate NBT data types during deserialization of inventory transaction packets from clients. Attackers can send crafted inventory transactions with malformed NBT tags to trigger server crashes and cause denial of service.
GitHub Advisory Database
Impact
When an inventory interaction is performed (e.g. moving an item around an inventory), the client sends a serialized version of the itemstack to the server, which the server then deserializes and compares against its own copy. If the copies don't match, the transaction is invalid.
This involves deserializing item NBT from the client, which allows for bogus data to be provided. Usually, this is harmless, but in this particular case, it could result in crashes on certain types of bad data (e.g. incorrect ListTag type provided for the CanDestroy tag).
Patches
This is fixed in 4.2.9 by commit 5a98b08ee8dc8ff14862cd83d2e4af9d212fefc2.
Workarounds
It's non-trivial to workaround this, but can be done by handling InventoryTransactionPacket and PlayerAuthInputPacket to scrub inbound transaction data of bogus NBT that would cause these crashes.
For more information
- Email us at team@pmmp.io
NVD (es)
Las versiones de PocketMine-MP anteriores a la 4.2.9 no validan correctamente los tipos de datos NBT durante la deserialización de paquetes de transacciones de inventario de los clientes. Los atacantes pueden enviar transacciones de inventario manipuladas con etiquetas NBT malformadas para provocar caídas del servidor y causar una denegación de servicio.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-51012 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g5rr-p69h-7v3g changed 2026-09-08 | CC-BY-4.0 |
| NVD | CVE-2022-51012 changed 2026-11-10 | Public domain |