{"id":"CVE-2024-58380","aliases":["CVE-2024-58380","GHSA-xc7j-wj36-qjfr"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 5.11.2 Denial of Service via BookEditPacket","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-03-06T17:01:27.000Z","modified":"2026-10-27T18:10:00.130Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.11.2","status":"affected"},{"type":"semver","version":"5.11.2","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.11.2"}],"ecosystem":"Packagist","package":"pocketmine/pocketmine-mp","purl":"pkg:composer/pocketmine/pocketmine-mp","source":"ghsa"}],"references":[{"url":"https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-xc7j-wj36-qjfr","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/47f011966092f275cc1b11f8de635e89fd9651a7","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-5.11.2-denial-of-service-via-bookeditpacket","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873","tags":["web"],"sources":["ghsa"]}],"credits":["GameParrot"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-18T17:09:17.943Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58380","url":"https://www.cve.org/CVERecord?id=CVE-2024-58380","licence":"CVE Terms of Use","modified":"2026-10-08T15:21:11.358Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xc7j-wj36-qjfr","url":"https://github.com/advisories/GHSA-xc7j-wj36-qjfr","licence":"CC-BY-4.0","modified":"2026-09-10T03:56:11.278Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58380","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58380","licence":"Public domain","modified":"2026-10-27T18:10:00.130Z"}],"updatedAt":"2026-11-25T22:58:53.070Z","epss":{"score":0.00376,"percentile":0.33623,"date":"2026-12-01T12:00:22.000Z"}}