{"id":"CVE-2023-54392","aliases":["CVE-2023-54392","GHSA-7wrv-6h42-w54f"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 4.22.3 Denial of Service via BlockActorDataPacket","summary":"PocketMine-MP versions >= 4.20.0 before 4.22.3 (and before 5.2.1 in the 5.x branch) fail to validate NBT tag types in BlockActorDataPacket. A player can crash the server by sending a packet containing sign NBT data with an incorrect tag type, triggering an unhandled UnexpectedTagTypeException that terminates the server process.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PocketMine-MP versions >= 4.20.0 before 4.22.3 (and before 5.2.1 in the 5.x branch) fail to validate NBT tag types in BlockActorDataPacket. A player can crash the server by sending a packet containing sign NBT data with an incorrect tag type, triggering an unhandled UnexpectedTagTypeException that terminates the server process.","source":"cvelist"},{"lang":"en","text":"### Summary\nA player sending a packet can cause the server to crash by providing incorrect sign data in NBT in `BlockActorDataPacket`.\n\n### Details\nThis vulnerability was discovered using the `BlockActorDataPacket`, but other packets may also be affected. The player would seem to just need to send an NBT with an incorrect type to throw this error.\n\n```\n[Server thread/CRITICAL]: pocketmine\\nbt\\UnexpectedTagTypeException: \"Expected a tag of type pocketmine\\nbt\\tag\\CompoundTag, got pocketmine\\nbt\\tag\\ByteTag\" (EXCEPTION) in \"pmsrc/vendor/pocketmine/nbt/src/tag/CompoundTag\" at line 107\n--- Stack trace ---\n  #0 pmsrc/src/network/mcpe/handler/InGamePacketHandler(751): pocketmine\\nbt\\tag\\CompoundTag->getCompoundTag(string[9] FrontText)\n  #1 pmsrc/vendor/pocketmine/bedrock-protocol/src/BlockActorDataPacket(50): pocketmine\\network\\mcpe\\handler\\InGamePacketHandler->handleBlockActorData(object pocketmine\\network\\mcpe\\protocol\\BlockActorDataPacket#220241)\n  #2 pmsrc/src/network/mcpe/NetworkSession(433): pocketmine\\network\\mcpe\\protocol\\BlockActorDataPacket->handle(object pocketmine\\network\\mcpe\\handler\\InGamePacketHandler#190572)\n```\n\n### PoC\nUse a bot or proxy to send a packet when editing a sign. This packet should contain an NBT with incorrect types but correct architecture.\n\n### Impact\nThis makes it possible to shutdown a server for someone who knows how to operate it. As this was discovered in 4.22.1, everyone with at least this version is affected.\n\n### Patches\nThis bug was fixed by 0c250a2ef09627b48aa52302f6cc7e1f2afb70ea in the 4.22.3 and 5.2.1 releases.\n\n### Workarounds\nA plugin may be able to handle `DataPacketReceiveEvent` for `BlockActorDataPacket`, and verify that the `FrontText` tag is a `TAG_Compound`.","format":"markdown","source":"ghsa"}],"published":"2023-07-14T21:50:42.000Z","modified":"2026-10-08T16:16:47.850Z","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":"4.20.0","fixed":"4.22.3","status":"affected"},{"type":"semver","introduced":"5.0.0","fixed":"5.2.1","status":"affected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.20.0","status":"affected","fixed":"4.22.3"}],"ecosystem":"Packagist","package":"pocketmine/pocketmine-mp","purl":"pkg:composer/pocketmine/pocketmine-mp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.2.1"}],"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-7wrv-6h42-w54f","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/0c250a2ef09627b48aa52302f6cc7e1f2afb70ea","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.22.3-denial-of-service-via-blockactordatapacket","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]}],"credits":["ShockedPlot7560","dktapps"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-18T17:08:38.588Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54392","url":"https://www.cve.org/CVERecord?id=CVE-2023-54392","licence":"CVE Terms of Use","modified":"2026-10-08T15:21:06.823Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7wrv-6h42-w54f","url":"https://github.com/advisories/GHSA-7wrv-6h42-w54f","licence":"CC-BY-4.0","modified":"2026-09-10T03:56:07.870Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54392","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54392","licence":"Public domain","modified":"2026-10-08T16:16:47.850Z"}],"updatedAt":"2026-11-25T22:58:35.406Z","epss":{"score":0.00376,"percentile":0.33623,"date":"2026-12-01T12:00:22.000Z"}}