Quick answers
- Is CVE-2024-58380 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-58380 being exploited in the wild.
- How severe is CVE-2024-58380?
- Medium severity, with a CVSS score of 6.5, published 9 September 2026.
- Which products and versions are affected?
- pocketmine/pocketmine-mp (Packagist) ECOSYSTEM:introduced=0,fixed=5.11.2.
- Is there a fix for CVE-2024-58380?
- Yes. pocketmine/pocketmine-mp (Packagist): upgrade to 5.11.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-58380 attacked?
- It is attacked over the network, in a hosted service.
- Am I affected by CVE-2024-58380?
- 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 5.11.2 or later
composer require pocketmine/pocketmine-mp:^5.11.2
Technical details
The vulnerability is a denial of service in the BookEditPacket handler within InGamePacketHandler.php. When a client sends a BookEditPacket with an inventorySlot value greater than 35, the server attempts to access an invalid inventory index, triggering an unhandled exception in BaseInventory->getItem() that crashes the server. The attack requires a low-privilege authenticated client connection (player login). The fix, released in version 5.11.2, adds validation to check if the inventory slot exists before attempting to access it, preventing the exception.
Affected products
- PocketMine PocketMine-MP before 5.11.2
Identifiers
- CVE-2024-58380
- GHSA-xc7j-wj36-qjfr
Timeline
- 2024-03-05: disclosed
- 2024-03-05: patched: Fixed in version 5.11.2