BreachSpiderVerified, not vibes

CVE-2022-31018 in Lightbend Play Framework

High 7.5

Play Framework is a web framework for Java and Scala. A denial of service vulnerability has been discovered in verions 2.8.3 through 2.8.15 of Play's forms library, in both the Scala and Java APIs. This can occur when using either the `Form#bindFromRequest` method on a JSON request body or the `Form#bind` method dir...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.7%
EPSS percentile77th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Lightbend Play Framework ≥ 2.8.3, ≤ 2.8.15

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Play Framework is a web framework for Java and Scala. A denial of service vulnerability has been discovered in verions 2.8.3 through 2.8.15 of Play's forms library, in both the Scala and Java APIs. This can occur when using either the `Form#bindFromRequest` method on a JSON request body or the `Form#bind` method directly on a JSON value. If the JSON data being bound to the form contains a deeply-nested JSON object or array, the form binding implementation may consume all available heap space and cause an `OutOfMemoryError`. If executing on the default dispatcher and `akka.jvm-exit-on-fatal-error` is enabled—as it is by default—then this can crash the application process. `Form.bindFromRequest` is vulnerable when using any body parser that produces a type of `AnyContent` or `JsValue` in Scala, or one that can produce a `JsonNode` in Java. This includes Play's default body parser. This vulnerability been patched in version 2.8.16. There is now a global limit on the depth of a JSON object that can be parsed, which can be configured by the user if necessary. As a workaround, applications that do not need to parse a request body of type `application/json` can switch from the default body parser to another body parser that supports only the specific type of body they expect.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-31018
BreachSpider IDBS-2022-GLOBAL-319134-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2022-06-02
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-400: Uncontrolled Resource Consumption (DoS)

Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.

Related attack patterns (CAPEC)

CAPEC-147 XML Ping of the Death via CWE-400

CAPEC-492 Regular Expression Exponential Blowup via CWE-400

CAPEC-227 Sustained Client Engagement via CWE-400

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A denial of service vulnerability exists in versions 2.8.3 through 2.8.15 of Play Framework's forms library, affecting both Scala and Java APIs. This vulnerability can be exploited by sending a JSON request with deeply nested data, leading to excessive resource consumption and potential service unavailability.

The vulnerability is triggered when using the `Form#bindFromRequest` method on a JSON request body or the `Form#bind` method directly on a JSON value. Malicious actors can craft JSON payloads with excessive nesting, causing the application to consume excessive memory and CPU resources, leading to a denial of service.

Questions

What is CVE-2022-31018?

A denial of service vulnerability exists in versions 2.8.3 through 2.8.15 of Play Framework's forms library, affecting both Scala and Java APIs. This vulnerability can be exploited by sending a JSON request with deeply nested data, leading to excessive resource consumption and potential service unavailability.

What is the CVSS score for CVE-2022-31018?

CVE-2022-31018 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.7%.

Is CVE-2022-31018 actively exploited?

No confirmed active exploitation of CVE-2022-31018 as of 2026-09-25.

How do I remediate CVE-2022-31018?

Priority: HIGH.

What systems are affected by CVE-2022-31018?

CVE-2022-31018 affects Lightbend Play Framework.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Lightbend","product":"Play Framework","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.