CVE-2023-54395
JSON

5.3medium

PocketMine-MP before 4.12.5 Denial of Service via ModalFormResponsePacket

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-7m9r-rq9j-wmmh

Description

PocketMine-MP versions before 4.12.5 contain a denial-of-service vulnerability in ModalFormResponsePacket processing that allows attackers to cause server resource exhaustion by sending large JSON payloads. Attackers can send numerous oversized modal form response packets to consume CPU time and prevent the server from processing legitimate connections.

Affected

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

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/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-407

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

What each source says

CVE List

PocketMine-MP versions before 4.12.5 contain a denial-of-service vulnerability in ModalFormResponsePacket processing that allows attackers to cause server resource exhaustion by sending large JSON payloads. Attackers can send numerous oversized modal form response packets to consume CPU time and prevent the server from processing legitimate connections.

GitHub Advisory Database
Impact

Due to a workaround for an old client bug (which has since been fixed), very large JSON payloads in ModalFormResponsePacket were able to cause the server to spend a significant amount of time processing the packet. Large numbers of these packets were able to hog CPU time so as to prevent the server from processing other connections in a timely manner.

Patches

The problem has been addressed in 3baa5ab71214f96e6e7ab12cb9beef08118473b5 by removing the workaround code.

Workarounds

Plugins could cancel DataPacketReceiveEvent for this packet, decode the data their way, and then call Player->onFormSubmit() directly, bypassing the vulnerable code.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54395 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-7m9r-rq9j-wmmh changed 2026-09-10CC-BY-4.0
NVDCVE-2023-54395 changed 2026-10-08Public domain