CVE-2022-51018 Details
Description
PocketMine-MP before 3.26.5 and 4.0.x before 4.0.5 does not limit book page text length, page count, or author/title length. A player who obtains a writable book can create oversized NBT ('book bombs'), causing excess bandwidth consumption and server crashes (exceeding the 1 MB chunk size limit when saving region-based worlds in PM3, or exceeding the 32 KiB TAG_String limit in PM4).
A vulnerability exists in PocketMine-MP versions prior to 3.26.5 and 4.0.x prior to 4.0.5, where the server does not impose restrictions on the length of text in book pages, the number of pages, or the length of author and title names. This lack of validation enables players with writable books to create excessively large NBT data, referred to as 'book bombs'. These 'book bombs' lead to increased bandwidth usage and can cause server crashes by exceeding the 1 MB chunk size limit when saving region-based worlds in PocketMine-MP 3, or surpassing the 32 KiB TAG_String limit in PocketMine-MP 4.
Users can update to PocketMine-MP versions 3.26.5 or 4.0.5, or ban writable books. Alternatively, a plugin can be used to cancel the 'PlayerEditBookEvent' if the text length exceeds 1024 characters or 256 multibyte characters.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 7, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PocketMine-MP | < 3.26.5 (semver) < 4.0.5 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 7, 2026 | New CVE Received | [email protected] |
Volerion