{"id":"CVE-2024-58380","aliases":["GHSA-xc7j-wj36-qjfr"],"url":"https://o3.security/vulnerability/CVE-2024-58380","summary":"PocketMine-MP before 5.11.2 Denial of Service via BookEditPacket","details":"### Summary\nIf a client sends a BookEditPacket with InventorySlot greater than 35, the server will crash due to an unhandled exception thrown by `BaseInventory->getItem()`.\n\n### Details\nCrashes at https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873\n\n### PoC\nUsing Gophertunnel, use `serverConn.WritePacket(&packet.BookEdit{InventorySlot: 36})`\n\n### Impact\nServer crash, all servers\n\n### Patched versions\nThis issue was fixed by 47f011966092f275cc1b11f8de635e89fd9651a7, and the fix was released in 5.11.2.","published":"2026-09-09T13:31:54.824Z","modified":"2026-10-29T02:31:07.884391435Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"pocketmine/pocketmine-mp","fixedVersion":"5.11.2"}],"fix":{"url":"https://github.com/pmmp/PocketMine-MP/commit/47f011966092f275cc1b11f8de635e89fd9651a7","label":"pmmp/PocketMine-MP@47f0119"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58380.json"},{"type":"ADVISORY","url":"https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-xc7j-wj36-qjfr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58380"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-5.11.2-denial-of-service-via-bookeditpacket"},{"type":"FIX","url":"https://github.com/pmmp/PocketMine-MP/commit/47f011966092f275cc1b11f8de635e89fd9651a7"},{"type":"PACKAGE","url":"https://github.com/pmmp/PocketMine-MP"},{"type":"WEB","url":"https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-29T02:31:07.884391435Z"}}