# CVE-2024-58381: PocketMine-MP denial of service in LoginPacket JSON processing

Source: https://junglewise.ai/threats/cve-2024-58381-pocketmine-mp-denial-of-service-in-loginpacket-json-processing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-09. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2024-58381 · Severity: high · CVSS 7.5 · Published 2026-09-09

PocketMine-MP is a Minecraft server software that processes login requests from players. A vulnerability in how login packet JSON data is parsed allows a remote attacker to crash the server by sending malformed JSON, causing service outages for all connected players.

Technologies: [pocketmine/pocketmine-mp (Packagist)](https://junglewise.ai/threats/technologies/pocketmine-pocketmine-mp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-58381 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-58381 being exploited in the wild.

**How severe is CVE-2024-58381?** High severity, with a CVSS score of 7.5, published 9 September 2026.

**Which products and versions are affected?** pocketmine/pocketmine-mp (Packagist) ECOSYSTEM:introduced=0,fixed=5.11.1.

**Is there a fix for CVE-2024-58381?** Yes. pocketmine/pocketmine-mp (Packagist): upgrade to 5.11.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-58381 attacked?** It is in a hosted service.

**Am I affected by CVE-2024-58381?** 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.1 or later

  ```sh
  composer require pocketmine/pocketmine-mp:^5.11.1
  ```


## Technical details

The vulnerability is a denial of service flaw in the LoginPacket JSON processing logic, specifically in the JsonMapper used during login handling. Attackers can send malformed JSON data that exploits improper object initialization from scalar JSON types, triggering unset required properties and causing an application crash. The attack is network-accessible and requires no authentication. A fix is available in version 5.11.1 and later, as evidenced by the hardening commit to the JsonMapper login JSON handling.

## Affected products

- PocketMine PocketMine-MP before 5.11.1

## Identifiers

- CVE-2024-58381
- GHSA-h6j3-j35f-v2x7

## Timeline

- 2026-09-09: disclosed
- 2026-09-09: patched: Fixed in version 5.11.1 via hardened JsonMapper on login JSON handling

## References

- [https://github.com/pmmp/PocketMine-MP/commit/6872661fd03649cc7a8762c41c16e9ee5a4de1c9](https://github.com/pmmp/PocketMine-MP/commit/6872661fd03649cc7a8762c41c16e9ee5a4de1c9)
- [https://github.com/pmmp/PocketMine-MP/commit/b96a209f9e8b76b899a0d0918493cd87eb3c02a7](https://github.com/pmmp/PocketMine-MP/commit/b96a209f9e8b76b899a0d0918493cd87eb3c02a7)

## Related threats

- [PocketMine-MP denial of service in ModalFormResponsePacket handling](https://junglewise.ai/threats/cve-2026-86204-pocketmine-mp-denial-of-service-in-modalformresponsepacket)
- [PocketMine-MP item duplication via despawn entity attack race condition](https://junglewise.ai/threats/cve-2026-86203-pocketmine-mp-item-duplication-via-despawn-entity-attack-race)
- [PocketMine-MP network amplification in ActorEventPacket](https://junglewise.ai/threats/cve-2026-86202-pocketmine-mp-network-amplification-in-actoreventpacket)
- [PocketMine-MP denial of service in LoginPacket processing](https://junglewise.ai/threats/cve-2026-86201-pocketmine-mp-denial-of-service-in-loginpacket-processing)
- [PocketMine-MP denial of service in LoginPacket handler](https://junglewise.ai/threats/cve-2026-86200-pocketmine-mp-denial-of-service-in-loginpacket-handler)
