Allocation of Resources Without Limits or Throttling Affecting github.com/expr-lang/expr/builtin package, versions <1.17.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMEXPRLANGEXPRBUILTIN-14459108
  • published17 Dec 2025
  • disclosed16 Dec 2025
  • creditVille Vesilehto

Introduced: 16 Dec 2025

CVE-2025-68156  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/expr-lang/expr/builtin to version 1.17.7 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the flatten, min, max, mean, and median functions when processing deeply nested or cyclic data structures. An attacker can cause the application to crash by supplying maliciously crafted input that triggers unbounded recursion and stack exhaustion.

Workaround

This vulnerability can be mitigated by ensuring evaluation environments do not contain cyclic references, validating or sanitizing externally supplied data structures, and wrapping expression evaluation with panic recovery to prevent a full process crash.

CVSS Base Scores

version 4.0
version 3.1