Quick answers
- Is CVE-2022-51012 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-51012 being exploited in the wild.
- How severe is CVE-2022-51012?
- Medium severity, with a CVSS score of 6.5, published 7 September 2026.
- Which products and versions are affected?
- pocketmine/pocketmine-mp (Packagist) ECOSYSTEM:introduced=0,fixed=4.2.9.
- Is there a fix for CVE-2022-51012?
- Yes. pocketmine/pocketmine-mp (Packagist): upgrade to 4.2.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-51012 attacked?
- It is attacked over the network.
- Am I affected by CVE-2022-51012?
- Check whether you run pocketmine/pocketmine-mp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- pocketmine/pocketmine-mp (Packagist): upgrade to 4.2.9 or later
composer require pocketmine/pocketmine-mp:^4.2.9
Technical details
The vulnerability exists in the deserialization of NBT data from client inventory transaction packets. The server does not adequately validate ListTag types (such as the CanDestroy tag) when processing inventory interactions, allowing an attacker to provide incorrect or malformed NBT structures. This affects inventory transaction and player auth input packet handling. An attacker on the network with low privileges (authenticated player) can send a crafted inventory transaction packet without user interaction to trigger a server crash via type validation bypass. The vulnerability is fixed in version 4.2.9 via proper TAG_List type checks.
Affected products
- PocketMine PocketMine-MP before 4.2.9
Identifiers
- CVE-2022-51012
- GHSA-g5rr-p69h-7v3g
Timeline
- 2022-04-19: advisory: GHSA advisory published
- 2022-04-19: patched: Fixed in version 4.2.9
- 2026-09-07: disclosed: CVE-2022-51012 published on NVD