{"id":"CVE-2022-51010","aliases":["CVE-2022-51010","GHSA-fqx3-r75h-vc89"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 4.4.2 Server Crash via Item ID","summary":"PocketMine-MP versions before 4.4.2 fail to properly validate item IDs received from clients in itemstack NBT data. Attackers can send crafted item IDs outside the valid range to trigger an uncaught exception that crashes the server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PocketMine-MP versions before 4.4.2 fail to properly validate item IDs received from clients in itemstack NBT data. Attackers can send crafted item IDs outside the valid range to trigger an uncaught exception that crashes the server.","source":"cvelist"},{"lang":"en","text":"### Impact\nDue to a workaround for unmapped network items implemented in 4.0.0-BETA5 (8ac16345a3bc099b62c1f5cfbf3b736e621c3f76), arbitrary item IDs are able to be written into an item's NBT. The intended purpose of this is to make said unmapped network items able to be moved around the inventory without issues.\n\nThis led to an exploit due to internal limits on the range that item IDs can occupy (-32768 - 32767), while the tag type used to represent the replacement IDs for unknown items is a `TAG_Int`, allowing a range from -(2^31) - 2^31 - 1. This leads to an uncaught exception which crashes the server.\n\n### Patches\n5fd685e07d61ef670584ed11a52fd5f4b99a81a7\n\n### Workarounds\nIn theory this can be checked by plugins using a custom `TypeConverter`, but this is likely to be very cumbersome.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [team@pmmp.io](mailto:team@pmmp.io)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de PocketMine-MP anteriores a la 4.4.2 no validan correctamente los ID de elementos recibidos de los clientes en los datos NBT de itemstack. Los atacantes pueden enviar ID de elementos manipulados fuera del rango válido para activar una excepción no controlada que provoca la caída del servidor.","source":"nvd"}],"published":"2022-06-07T21:07:31.000Z","modified":"2026-11-10T12:10:00.177Z","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":"4.4.2","status":"affected"},{"type":"semver","version":"4.4.2","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-BETA5","status":"affected","fixed":"4.4.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-fqx3-r75h-vc89","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/5fd685e07d61ef670584ed11a52fd5f4b99a81a7","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.4.2-server-crash-via-item-id","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/8ac16345a3bc099b62c1f5cfbf3b736e621c3f76","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T13:23:59.387Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51010","url":"https://www.cve.org/CVERecord?id=CVE-2022-51010","licence":"CVE Terms of Use","modified":"2026-10-08T15:20:54.510Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fqx3-r75h-vc89","url":"https://github.com/advisories/GHSA-fqx3-r75h-vc89","licence":"CC-BY-4.0","modified":"2026-09-08T12:38:02.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51010","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51010","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.452Z","epss":{"score":0.0053,"percentile":0.38284,"date":"2026-11-30T12:00:22.000Z"}}