Red Hat build of Quarkus 3.27.5.SP1
Io.smallrye/smallrye-graphql: smallrye graphql: unauthenticated denial of service via large exponent float literals
A flaw was found in SmallRye GraphQL. The number scalar coercion for BigInteger does not properly validate the magnitude of float or string inputs. An unauthenticated remote attacker can exploit this by sending a GraphQL query containing a large exponent float literal. This can lead to the allocation of extremely large BigInteger objects, causing CPU exhaustion or an OutOfMemoryError, resulting in a denial of service.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 2.14.2.redhat-00002
Fixed in 2.17.0.redhat-00003
Mitigation
Upgrade Red Hat build of Quarkus 3.27.5.SP1 to 2.14.2.redhat-00002 or later.
Upgrade Red Hat build of Quarkus 3.33.3.SP1 to 2.17.0.redhat-00003 or later.
Workaround
To mitigate this issue, applications exposing SmallRye GraphQL endpoints should implement validation and bounding of the precision or exponent for incoming numeric literals before they reach scalar coercion. Additionally, limiting the JVM heap size can help constrain the impact of OutOfMemoryError, though it will not prevent CPU exhaustion. Implementing rate-limiting or timeouts on the GraphQL endpoint can also reduce exposure. Using GraphQL variables instead of inline literals for numeric inputs is a safe alternative, as variables follow a secure parsing path.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:62515
- Vendor advisory access.redhat.com/errata/RHSA-2026:62555
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.