{"id":"CVE-2022-51009","aliases":["GHSA-8cwq-4cmf-px73"],"url":"https://o3.security/vulnerability/CVE-2022-51009","summary":"PocketMine-MP before 4.7.2 Denial of Service via Skin Geometry","details":"### Impact\n`pocketmine\\entity\\Skin` doesn't correctly handle errors produced by `adhocore/json-comment`, which throws `RuntimeException` rather than returning `false` as PocketMine-MP expects.\n\nThis leads to a server crash if the skin geometry data is invalid for some reason (e.g. a syntax error).\n\n### Patches\nc9626c610b8f6810c8c987559c9197b2a291f0bb\n\n### Workarounds\nA plugin could handle `LoginPacket` and `PlayerSkinPacket` to verify the skin geometry data can be parsed correctly, so that the error condition in the core code is never reached.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@pmmp.io](mailto:security@example.com)\n","published":"2026-09-06T12:00:24.856Z","modified":"2026-10-28T02:31:13.733553823Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"pocketmine/pocketmine-mp","fixedVersion":"4.7.2"}],"fix":{"url":"https://github.com/pmmp/PocketMine-MP/commit/c9626c610b8f6810c8c987559c9197b2a291f0bb","label":"pmmp/PocketMine-MP@c9626c6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51009.json"},{"type":"ADVISORY","url":"https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-8cwq-4cmf-px73"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51009"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.7.2-denial-of-service-via-skin-geometry"},{"type":"FIX","url":"https://github.com/pmmp/PocketMine-MP/commit/c9626c610b8f6810c8c987559c9197b2a291f0bb"},{"type":"PACKAGE","url":"https://github.com/pmmp/PocketMine-MP"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:13.733553823Z"}}