CVE-2025-71418
JSON

6.9medium

PocketMine-MP before 5.25.2 Denial of Service via explode

Severity
6.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-g274-c6jj-h78p

Description

PocketMine-MP versions before 5.25.2 fail to limit the explode() function in packet parsing, allowing malicious clients to waste server resources. Attackers can send crafted packets with excessive delimiters to consume CPU and memory through sign editing, JWT parsing, and command parsing endpoints.

Affected

Product or packageVersionsReported by
pmmp PocketMine-MPbefore 5.25.2
Not affected: 5.25.2
CVE List
pocketmine/pocketmine-mp (Packagist)before 5.25.2GitHub Advisory Database

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-400CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

PocketMine-MP versions before 5.25.2 fail to limit the explode() function in packet parsing, allowing malicious clients to waste server resources. Attackers can send crafted packets with excessive delimiters to consume CPU and memory through sign editing, JWT parsing, and command parsing endpoints.

GitHub Advisory Database
Impact

Due to lack of limits by default in the explode() function, malicious clients were able to abuse some packets to waste server CPU and memory.

This is similar to a previous security issue published in https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-gj94-v4p9-w672, but with a wider impact, including but not limited to:

  • Sign editing
  • LoginPacket JWT parsing
  • Command parsing

However, the estimated impact of these issues is low, due to other limits such as the packet decompression limit.

Patches

The issue was fixed in 5.25.2 via d0d84d4c5195fb0a68ea7725424fda63b85cd831.

A custom PHPStan rule has also been introduced to the project, which will henceforth require that all calls to explode() within the codebase must specify the limit parameter.

Workarounds

No simple way to fix this. Given that sign editing is the easiest way this could be exploited, workarounds could include plugins pre-processing BlockActorDataPacket to check that the incoming text doesn't have more than 4 parts when split by \n.

NVD (es)

Las versiones de PocketMine-MP anteriores a la 5.25.2 no limitan la función explode() en el análisis de paquetes, lo que permite a clientes maliciosos malgastar recursos del servidor. Los atacantes pueden enviar paquetes manipulados con delimitadores excesivos para consumir CPU y memoria a través de los endpoints de edición de carteles, análisis de JWT y análisis de comandos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71418 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-g274-c6jj-h78p changed 2026-09-10CC-BY-4.0
NVDCVE-2025-71418 changed 2026-10-14Public domain