CVE-2023-54396: PocketMine-MP dye color ID validation failure in banner deserialization

CVE-2023-54396 · Severity: medium · CVSS 6.5 · Published 2026-09-09

PocketMine-MP is a server software for the Minecraft Bedrock Edition multiplayer experience. The software fails to validate dye color IDs when processing banner item data, allowing an authenticated attacker to provide malformed data that crashes the game server. This denies service to all players on the affected server.

Technologies: pocketmine/pocketmine-mp (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2023-54396 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-54396 being exploited in the wild.
How severe is CVE-2023-54396?
Medium severity, with a CVSS score of 6.5, published 9 September 2026.
Which products and versions are affected?
pocketmine/pocketmine-mp (Packagist) ECOSYSTEM:introduced=0,fixed=4.8.1.
Is there a fix for CVE-2023-54396?
Yes. pocketmine/pocketmine-mp (Packagist): upgrade to 4.8.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2023-54396 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2023-54396?
Check whether you run pocketmine/pocketmine-mp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • pocketmine/pocketmine-mp (Packagist): upgrade to 4.8.1 or later
    composer require pocketmine/pocketmine-mp:^4.8.1

Technical details

The vulnerability is an improper input validation flaw in the DyeColorIdMap class, specifically the fromId() method, which does not check whether a provided dye color ID exists in the internal mapping before accessing it. The vulnerable code path is triggered during Banner item deserialization (Banner::deserializeCompoundTag()), which processes NBT data from network inventory transactions or /give commands. An attacker with low privileges (able to send inventory transactions or execute commands) can supply invalid color values in banner NBT data, causing an undefined offset error that crashes the server. The fix, deployed in version 4.8.1, adds null coalescing to safely handle invalid IDs. Patch available: commit 08b9495.

Affected products

  • PocketMine PocketMine-MP before 4.8.1

Identifiers

  • CVE-2023-54396
  • GHSA-wqqv-jcfr-9f5g

Timeline

  • 2023-01-06: disclosed
  • 2023-01-06: patched: Version 4.8.1 released with fix
  • 2026-09-09: advisory: CVE-2023-54396 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.