Vulnerabilities / GHSA-52mm-32rv-3rpg

critical

GHSA-52mm-32rv-3rpg

Unauthenticated remote use-after-free in graphql-c_parser

In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

No source gives a CVSS score.

Trivy's own label is CRITICAL. Rated critical by Ruby Advisory DB.

Description

Use-after-free is possible graphql-c_parser if Bison moves GraphQL-Ruby AST nodes into the heap. Bison's heap is not scanned by Ruby's garbage collector, so if GC runs during this stage, Ruby determines those objects to be dead. Later, however, graphql-c_parser uses those objects again while continuing to parse. Patched versions use Bison's YYSTACK_USE_ALLOCA 1 configuration to use stack memory instead. This issue was reported by PlatformSecurity.

Affected packages and fixed versions

SourcePackageFixed in
rubygems::Ruby Advisory Databasegraphql-c_parser>= 1.1.4

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.