CVE-2024-58380
JSON

7.1high

PocketMine-MP before 5.11.2 Denial of Service via BookEditPacket

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-xc7j-wj36-qjfr

Description

PocketMine-MP versions before 5.11.2 contain a denial of service vulnerability in BookEditPacket handling that crashes the server when an invalid inventory slot value is provided. Attackers can send a crafted BookEditPacket with an inventory slot greater than 35 to trigger an unhandled exception and crash the server.

Affected

Product or packageVersionsReported by
pmmp PocketMine-MPbefore 5.11.2
Not affected: 5.11.2
CVE List
pocketmine/pocketmine-mp (Packagist)before 5.11.2GitHub Advisory Database

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

PocketMine-MP versions before 5.11.2 contain a denial of service vulnerability in BookEditPacket handling that crashes the server when an invalid inventory slot value is provided. Attackers can send a crafted BookEditPacket with an inventory slot greater than 35 to trigger an unhandled exception and crash the server.

GitHub Advisory Database
Summary

If a client sends a BookEditPacket with InventorySlot greater than 35, the server will crash due to an unhandled exception thrown by BaseInventory->getItem().

Details

Crashes at https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873

PoC

Using Gophertunnel, use serverConn.WritePacket(&packet.BookEdit{InventorySlot: 36})

Impact

Server crash, all servers

Patched versions

This issue was fixed by 47f011966092f275cc1b11f8de635e89fd9651a7, and the fix was released in 5.11.2.

NVD (es)

Las versiones de PocketMine-MP anteriores a la 5.11.2 contienen una vulnerabilidad de denegación de servicio en el manejo de BookEditPacket que provoca la caída del servidor cuando se proporciona un valor de ranura de inventario no válido. Los atacantes pueden enviar un BookEditPacket manipulado con una ranura de inventario mayor que 35 para activar una excepción no controlada y provocar la caída del servidor.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58380 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-xc7j-wj36-qjfr changed 2026-09-10CC-BY-4.0
NVDCVE-2024-58380 changed 2026-10-27Public domain