{"id":"CVE-2025-31496","published":"2025-04-07T20:34:46Z","modified":"2025-04-08T16:00:33Z","title":"apollo-compiler Named Fragment Processing Vulnerability","vendor":"apollographql","product":"apollo-rs","tier":"tail","description":{"text":"apollo-compiler is a query-based compiler for the GraphQL query language. Prior to 1.27.0, a vulnerability in Apollo Compiler allowed queries with deeply nested and reused named fragments to be prohibitively expensive to validate. Named fragments were being processed once per fragment spread in some cases during query validation, leading to exponential resource usage when deeply nested and reused fragments were involved. This could lead to excessive resource consumption and denial of service in applications. This vulnerability is fixed in 1.27.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00438,"percentile":0.38926,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/apollographql/apollo-rs/security/advisories/GHSA-7mpv-9xg6-5r79","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apollographql/apollo-rs/pull/952","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.79},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"apollographql","affectedVersions":[{"vendor":"apollographql","product":"apollo-rs","versions":["< 1.27.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-08T14:21:53.168134Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"apollo-compiler","vulnerableRanges":["<1.27.0"],"patched":["1.27.0"],"from":["GHSA-7mpv-9xg6-5r79"],"provenance":"source"}],"summary":{"text":"The apollo-compiler component of the apollo-rs product, a GraphQL query compiler, processes named fragments inefficiently during query validation, so deeply nested and reused fragments cause resource usage to grow exponentially. An attacker able to send GraphQL queries to an affected application needs no privileges or user interaction and can crafted such queries to exhaust resources and deny service; the flaw is present in versions before 1.27.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:00Z"},"euvd":{"id":"EUVD-2025-10289","exploited":false,"provenance":"source"}}