Advisory record · GHSA-cfpf-hrx2-8rv6

Expr has Denial of Service via Unbounded Recursion in Builtin Functions

CVSS 7.5 HighEPSS 0.0045 · 39th percentile

Published by the GitHub Advisory Database at 16 Dec 2025, 22:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/expr-lang/exprGo<1.17.71.17.7
Identifiers
GHSA-cfpf-hrx2-8rv6 · CVE-2025-68156 · GO-2025-4245
Weakness (CWE)
CWE-770
Published
16 Dec 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Go package github.com/expr-lang/expr versions before 1.17.7 are affected. Builtin functions such as flatten, min, max, mean, and median recurse over data without a depth limit, so deeply nested or cyclic data in the evaluation environment can cause a stack overflow that crashes the host application. Exploitation requires that an attacker can influence the data supplied to Expr. Upgrade to version 1.17.7 or later, which adds a recursion depth limit that returns an error instead of crashing.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0045, the 39th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.