High

GraphQL Java vulnerable to stack consumption

  • Disclosed: 27.03.2023
  • Updated: 11.10.2026 11:21

In GraphQL Java (aka graphql-java) before 20.1, an attacker can send a crafted GraphQL query that causes stack consumption. The fixed versions are 20.1, 19.4, 18.4, 17.5, and 0.0.0-2023-03-20T01-49-44-80e3135.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) com.graphql-java:graphql-java < 0.0.0-2023-03-20T01-49-44-80e3135, >= 1.2, < 17.5, >= 18.0, < 18.4, >= 19.0, < 19.4, >= 20.0, < 20.1 0.0.0-2023-03-20T01-49-44-80e3135, 17.5, 18.4, 19.4, 20.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-770
Platform
Java / Kotlin (Maven)
Package
com.graphql-java:graphql-java
Disclosed
27.03.2023
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-p4qx-6w5p-4rj2 - CC BY 4.0

Vulnerability history: com.graphql-java:graphql-java

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
09.2022 07.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3

Disclosures per year

  1. 2022: 1
  2. 2023: 1
  3. 2024: 1
  4. 2025: 0
  5. 2026: 0
  1. High · 7.5 CVE-2024-40094 < 19.11, >= 20.0, < 20.9, >= 21.0, < 21.5 19.11, 20.9, 21.5
  2. GraphQL Java vulnerable to stack consumption this entry
    High · 7.5 CVE-2023-28867 < 0.0.0-2023-03-20T01-49-44-80e3135, >= 1.2, < 17.5, >= 18.0, < 18.4, >= 19.0, < 19.4, >= 20.0, < 20.1 0.0.0-2023-03-20T01-49-44-80e3135, 17.5, 18.4, 19.4, 20.1
  3. High · 7.5 CVE-2022-37734 < 17.4, >= 18.0, < 18.3 17.4, 18.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.