PocketMine-MP BookEditPacket crash when inventory slot in the packet is invalid
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### Summary If a client sends a BookEditPacket with InventorySlot greater than 35, the server will crash due to an unhandled exception thrown by `BaseInventory->getItem()`. ### Details Crashes at https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873 ### PoC Using Gophertunnel, use `serverConn.WritePacket(&packet.BookEdit{InventorySlot: 36})` ### Impact Server crash, all servers ### Patched versions This issue was fixed by 47f011966092f275cc1b11f8de635e89fd9651a7, and the fix was released in 5.11.2.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | pocketmine/pocketmine-mp (Packagist) | before 5.11.2 | 5.11.2 | Patch available | GHSA-xc7j-wj36-qjfr |
- pocketmine/pocketmine-mp (Packagist) Vendor— Affected before 5.11.2 Fixed in 5.11.2 Patch available GHSA-xc7j-wj36-qjfr
Remediation
- Fix · GHSA-xc7j-wj36-qjfr pocketmine/pocketmine-mp (Packagist) Fixed in 5.11.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-xc7j-wj36-qjfr
References
Other 4
- https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-xc7j-wj36-qjfr
- https://github.com/pmmp/PocketMine-MP/commit/47f011966092f275cc1b11f8de635e89fd9651a7
- https://github.com/pmmp/PocketMine-MP
- https://github.com/pmmp/PocketMine-MP/blob/b744e09352a714d89220719ab6948a010ac636fc/src/network/mcpe/handler/InGamePacketHandler.php#L873
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences