Read the docs
TI-2024-38534 Aliases GHSA-xc7j-wj36-qjfr

PocketMine-MP BookEditPacket crash when inventory slot in the packet is invalid

Priority LOW 38Published · Updated

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

Fix Fixed pocketmine/pocketmine-mp (Packagist): 5.11.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—pocketmine/pocketmine-mp (Packagist)before 5.11.25.11.2Patch availableGHSA-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

  1. 2026-10-03 Threatist record created from GHSA-xc7j-wj36-qjfr

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences