{"id":"CVE-2022-51009","aliases":["CVE-2022-51009","GHSA-8cwq-4cmf-px73"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 4.7.2 Denial of Service via Skin Geometry","summary":"PocketMine-MP before 4.7.2 fails to properly handle exceptions from the adhocore/json-comment library when parsing skin geometry data. Attackers can send login or skin packets with invalid geometry JSON to trigger an unhandled RuntimeException, causing server crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PocketMine-MP before 4.7.2 fails to properly handle exceptions from the adhocore/json-comment library when parsing skin geometry data. Attackers can send login or skin packets with invalid geometry JSON to trigger an unhandled RuntimeException, causing server crash.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"PocketMine-MP anterior a la versión 4.7.2 no gestiona correctamente las excepciones de la biblioteca adhocore/json-comment al analizar los datos de geometría de la skin. Los atacantes pueden enviar paquetes de inicio de sesión o de skin con JSON de geometría no válido para activar una RuntimeException no gestionada, lo que provoca la caída del servidor.","source":"nvd"}],"published":"2022-08-18T19:19:21.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:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","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"},{"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-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.7.2","status":"affected"},{"type":"semver","version":"4.7.2","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.7.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-8cwq-4cmf-px73","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/c9626c610b8f6810c8c987559c9197b2a291f0bb","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-4.7.2-denial-of-service-via-skin-geometry","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-10T14:22:40.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51009","url":"https://www.cve.org/CVERecord?id=CVE-2022-51009","licence":"CVE Terms of Use","modified":"2026-10-08T15:20:53.861Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8cwq-4cmf-px73","url":"https://github.com/advisories/GHSA-8cwq-4cmf-px73","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:42.521Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51009","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51009","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.452Z","epss":{"score":0.00339,"percentile":0.29303,"date":"2026-12-01T12:00:22.000Z"}}