{"id":"CVE-2022-51017","aliases":["CVE-2022-51017","GHSA-c6fg-99pr-25m9"],"related":[],"kind":"vulnerability","state":"published","title":"PocketMine-MP before 3.26.5 and 4.0.5 Denial of Service via Skin Data","summary":"PocketMine-MP versions before 3.26.5 and 4.0.5 fail to validate the length of skin data fields submitted by players, allowing uncapped values to exceed the 32767 byte TAG_String limit. Attackers can submit oversized skin data fields like skinID or geometryName to trigger exceptions during NBT data serialization, causing server crashes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PocketMine-MP versions before 3.26.5 and 4.0.5 fail to validate the length of skin data fields submitted by players, allowing uncapped values to exceed the 32767 byte TAG_String limit. Attackers can submit oversized skin data fields like skinID or geometryName to trigger exceptions during NBT data serialization, causing server crashes.","source":"cvelist"},{"lang":"en","text":"### Impact\nSome skin data fields (e.g. skinID, geometryName) are not capped in length. These fields are typically saved in the NBT data of a player when the player quits the server, or during an autosave.\n\nThis is problematic due to the 32767 byte limit on `TAG_String`s. If any of these fields exceeds 32767 bytes, an exception will be thrown during data saving, which will cause the server to crash.\n\nOther fields (such as skinGeometryData) are also uncapped, but those have a much larger 2 GB length limit, so this is not a concern for those, particularly considering the decompressed packet size limit of 2 MB.\n\n### Patches\nPM3: 958a9dbf0fe3131ab60319c5a939f5dfbfe5dfbb\nPM4: 6492cac5c10f9fa8443ceddd2191a7b65b73f601\n\n### Workarounds\nA plugin may check player skins during `PlayerLoginEvent` and `PlayerSkinChangeEvent` and ensure that the offending fields are not larger than 32767 bytes.\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 3.26.5 y 4.0.5 no validan la longitud de los campos de datos de skin enviados por los jugadores, lo que permite que valores sin límite superen el límite de 32767?bytes del TAG_String. Los atacantes pueden enviar campos de datos de skin de tamaño excesivo, como skinID o geometryName, para provocar excepciones durante la serialización de datos NBT, causando caídas del servidor.","source":"nvd"}],"published":"2022-01-06T23:53:58.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-20"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","fixed":"3.26.5","status":"affected"},{"type":"semver","version":"3.26.5","status":"unaffected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.5","status":"affected"},{"type":"semver","version":"4.0.5","status":"unaffected"}],"vendor":"pmmp","product":"PocketMine-MP","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.26.5"}],"ecosystem":"Packagist","package":"pocketmine/pocketmine-mp","purl":"pkg:composer/pocketmine/pocketmine-mp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"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-c6fg-99pr-25m9","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/958a9dbf0fe3131ab60319c5a939f5dfbfe5dfbb","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pmmp/PocketMine-MP/commit/6492cac5c10f9fa8443ceddd2191a7b65b73f601","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/pocketmine-mp-before-3.26.5-and-4.0.5-denial-of-service-via-skin-data","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-08T12:52:24.624Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51017","url":"https://www.cve.org/CVERecord?id=CVE-2022-51017","licence":"CVE Terms of Use","modified":"2026-10-08T15:20:59.279Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c6fg-99pr-25m9","url":"https://github.com/advisories/GHSA-c6fg-99pr-25m9","licence":"CC-BY-4.0","modified":"2026-09-08T12:38:09.051Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51017","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51017","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.455Z","epss":{"score":0.00473,"percentile":0.42557,"date":"2026-12-01T12:00:22.000Z"}}