---
id: CVE-2022-37315
title: >-
  graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the
  type definition parser.
summary: >-
  graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the
  type definition parser.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-674
vendor: graphql-go_project
product: graphql-go
affected:
  - graphql-go <= 0.8.0
published: '2022-08-01'
updated: '2026-08-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-37315'
references:
  - url: 'https://github.com/graphql-go/graphql/issues/637'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/08/25/2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/graphql-go/graphql/issues/637'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00991
epssPercentile: 0.60927
ingestedAt: '2026-08-25T18:30:20.566Z'
---

## Overview

graphql-go (aka GraphQL for Go) through 0.8.0 has infinite recursion in the type definition parser.

## Affected

- `graphql-go <= 0.8.0`

## Remediation

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