---
id: CVE-2022-51014
title: >-
  PocketMine-MP before 4.0.7 contains an unhandled exception vulnerability in
  the ModalFormResponsePacket handler when processing malformed JSON from
  clients
summary: >-
  PocketMine-MP before 4.0.7 contains an unhandled exception vulnerability in
  the ModalFormResponsePacket handler when processing malformed JSON from
  clients. Attackers can send specially crafted form response packets with
  invalid JSON to …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-248
vendor: pmmp
product: PocketMine-MP
affected:
  - PocketMine-MP < 4.0.7
published: '2026-09-07'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T15:17:04.313'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-51014'
references:
  - url: >-
      https://github.com/pmmp/PocketMine-MP/commit/56fe71d939c38fe14e18a31a673a9331bcc0e4ca
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/pmmp/PocketMine-MP/security/advisories/GHSA-wjfq-88q2-r34j
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/pocketmine-mp-before-4.0.7-denial-of-service-via-json-decoding
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-09T14:32:47.900615Z'
epss: 0.00508
epssPercentile: 0.42409
ingestedAt: '2026-09-08T20:10:03.178Z'
---

## Overview

PocketMine-MP before 4.0.7 contains an unhandled exception vulnerability in the ModalFormResponsePacket handler when processing malformed JSON from clients. Attackers can send specially crafted form response packets with invalid JSON to trigger an uncaught InvalidArgumentException, causing server crashes.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
