CVE-2022-51012 PocketMine-MP before 4.2.9 Denial of Service via NBT Deserialization

High 7.1 Published Updated

Attackers can crash the PocketMine-MP server by sending crafted inventory transaction packets with malformed NBT data, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-51012?

CVE-2022-51012 is a high-severity denial of service vulnerability in pmmp PocketMine-MP, published on 7 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2022-51012?

2 open source packages ship an affected version, including pocketmine/pocketmine-mp.

PackageAffectedFixed in
pocketmine/pocketmine-mp PackagistAll versions4.2.9
pocketmine/pocketmine-mp PackagistAll versions4.2.9

How do I fix CVE-2022-51012?

Upgrade pocketmine/pocketmine-mp to 4.2.9 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-51012 being exploited?

There is no known exploitation of CVE-2022-51012 in the wild and no public exploit code.

Sources

Also known as GHSA-34g8-2ffh-764w, GHSA-g5rr-p69h-7v3g.

Is CVE-2022-51012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free