CVE-2025-68156
High · 7.5CVSS
7.5
EPSS
0.4%
Published
Dec 16, 2025
CISA due date
—
The record
Expr is an expression language and expression evaluation for Go. Prior to version 1.17.7, several builtin functions in Expr, including `flatten`, `min`, `max`, `mean`, and `median`, perform recursive traversal over user-provided data structures without enforcing a maximum recursion depth. If the evaluation environment contains deeply nested or cyclic data structures, these functions may recurse indefinitely until exceed the Go runtime stack limit. This results in a stack overflow panic, causing the host application to crash. While exploitability depends on whether an attacker can influence or inject cyclic or pathologically deep data into the evaluation environment, this behavior represents a denial-of-service (DoS) risk and affects overall library robustness. Instead of returning a recoverable evaluation error, the process may terminate unexpectedly. In affected versions, evaluation of expressions that invoke certain builtin functions on untrusted or insufficiently validated data structures can lead to a process-level crash due to stack exhaustion. This issue is most relevant in scenarios where Expr is used to evaluate expressions against externally supplied or dynamically constructed environments; cyclic references (directly or indirectly) can be introduced into arrays, maps, or structs; and there are no application-level safeguards preventing deeply nested input data. In typical use cases with controlled, acyclic data, the issue may not manifest. However, when present, the resulting panic can be used to reliably crash the application, constituting a denial of service. The issue has been fixed in the v1.17.7 versions of Expr. The patch introduces a maximum recursion depth limit for affected builtin functions. When this limit is exceeded, evaluation aborts gracefully and returns a descriptive error instead of panicking. Additionally, the maximum depth can be customized by users via `builtin.MaxDepth`, allowing applications with legitimate deep structures to raise the limit in a controlled manner. Users are strongly encouraged to upgrade to the patched release, which includes both the recursion guard and comprehensive test coverage to prevent regressions. For users who cannot immediately upgrade, some mitigations are recommended. Ensure that evaluation environments cannot contain cyclic references, validate or sanitize externally supplied data structures before passing them to Expr, and/or wrap expression evaluation with panic recovery to prevent a full process crash (as a last-resort defensive measure). These workarounds reduce risk but do not fully eliminate the issue without the patch.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/expr-lang/expr | 0 | 1.17.7 |
| AlmaLinux:10 | opentelemetry-collector | 0 | 0.135.0-2.el10_1 |
| AlmaLinux:9 | opentelemetry-collector | 0 | 0.135.0-2.el9_7 |
| Chainguard | amazon-cloudwatch-agent | 0 | 1.300063.0-r1 |
| Chainguard | amazon-cloudwatch-agent-fips | 0 | 1.300063.0-r1 |
| Chainguard | argo-cd-2.13-repo-server | 0 | 2.13.9-r5 |
| Chainguard | argo-cd-2.14-repo-server | 0 | 2.14.21-r4 |
| Chainguard | argo-cd-3.0-compat | 0 | 3.0.20-r8 |
| Chainguard | argo-cd-3.1 | 0 | 3.1.9-r8 |
| Chainguard | argo-cd-3.1-compat | 0 | 3.1.9-r8 |
| Chainguard | argo-cd-3.1-iamguarded-compat | 0 | 3.1.9-r8 |
| Chainguard | argo-cd-3.1-repo-server | 0 | 3.1.9-r8 |
| Chainguard | argo-cd-3.2 | 0 | 3.2.1-r3 |
| Chainguard | argo-cd-3.2-compat | 0 | 3.2.1-r3 |
| Chainguard | argo-cd-fips-2.13-repo-server | 0 | 2.13.9-r5 |
| Chainguard | argo-cd-fips-2.14-repo-server | 0 | 2.14.21-r4 |
| Chainguard | argo-cd-fips-3.0 | 0 | 3.0.20-r10 |
| Chainguard | argo-cd-fips-3.0-compat | 0 | 3.0.20-r10 |
| Chainguard | argo-cd-fips-3.0-iamguarded-compat | 0 | 3.0.20-r10 |
| Chainguard | argo-cd-fips-3.0-repo-server | 0 | 3.0.20-r10 |
| Chainguard | argo-cd-fips-3.1 | 0 | 3.1.9-r10 |
| Chainguard | argo-cd-fips-3.1-compat | 0 | 3.1.9-r10 |
| Chainguard | argo-cd-fips-3.1-iamguarded-compat | 0 | 3.1.9-r10 |
| Chainguard | argo-cd-fips-3.1-repo-server | 0 | 3.1.9-r10 |
| Chainguard | argo-cd-fips-3.2 | 0 | 3.2.2-r0 |
| Chainguard | argo-cd-fips-3.2-compat | 0 | 3.2.1-r4 |
| Chainguard | argo-cd-fips-3.2-iamguarded-compat | 0 | 3.2.1-r4 |
| Chainguard | argo-cd-fips-3.2-repo-server | 0 | 3.2.1-r4 |
| Chainguard | argo-rollouts | 0 | 1.9.0-r2 |
| Chainguard | argo-rollouts-fips | 0 | 1.9.0-r2 |
| Chainguard | argo-workflow-cli-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-cli-fips-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-controller-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-controller-3.6-compat | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-controller-3.6-compat-fips | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-controller-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflow-controller-fips-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-controller-fips-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflow-executor-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-executor-3.6-compat | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-executor-3.6-compat-fips | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-executor-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflow-executor-fips-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflow-executor-fips-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflows-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflows-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflows-fips-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflows-fips-3.7 | 0 | 3.7.6-r1 |
| Chainguard | argo-workflows-known-hosts-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflows-known-hosts-fips-3.6 | 0 | 3.6.15-r1 |
| Chainguard | argo-workflows-ui-3.6 | 0 | 3.6.15-r1 |
| Chainguard | aws-otel-collector | 0 | 0.46.0-r0 |
| Chainguard | aws-otel-collector-compat | 0 | 0.46.0-r0 |
| Chainguard | aws-otel-collector-fips | 0 | 0.46.0-r0 |
| Chainguard | aws-otel-collector-fips-healthcheck | 0 | 0.46.0-r0 |
| Chainguard | aws-otel-collector-healthcheck | 0 | 0.46.0-r0 |
| Chainguard | aws-otel-collector-healthcheck-fips | 0 | 0.46.0-r0 |
| Chainguard | coredns-1.12 | 0 | 1.12.4-r8 |
| Chainguard | coredns-1.12-compat | 0 | 1.12.4-r8 |
| Chainguard | coredns-1.13 | 0 | 1.13.2-r1 |
| Chainguard | coredns-fips-1.12 | 0 | 1.12.4-r8 |
| Chainguard | coredns-fips-1.13 | 0 | 1.13.2-r1 |
| Chainguard | eks-distro-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-coredns-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-coredns-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-coredns-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-coredns-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-coredns-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-coredns-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-coredns-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-coredns-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-coredns-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-coredns-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-coredns-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-coredns-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-apiserver-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kube-apiserver-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-apiserver-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kube-apiserver-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-apiserver-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-apiserver-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-apiserver-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kube-apiserver-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-apiserver-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kube-apiserver-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-apiserver-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-apiserver-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-controller-manager-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kube-controller-manager-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-controller-manager-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kube-controller-manager-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-controller-manager-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-controller-manager-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-controller-manager-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-proxy-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kube-proxy-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-proxy-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kube-proxy-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-proxy-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-proxy-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-proxy-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kube-proxy-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-proxy-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kube-proxy-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-proxy-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-proxy-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-scheduler-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kube-scheduler-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-scheduler-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kube-scheduler-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-scheduler-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-scheduler-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kube-scheduler-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kube-scheduler-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kube-scheduler-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kube-scheduler-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kube-scheduler-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kube-scheduler-fips-1.34 | 0 | 1.34.12-r0 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-attacher-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-provisioner-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-resizer-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-controller-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshot-validation-webhook-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-external-snapshotter-fips-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-1.29 | 0 | 1.29.55-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-1.31 | 0 | 1.31.37-r1 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-1.33 | 0 | 1.33.20-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-fips-1.29 | 0 | 1.29.55-r1 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-fips-1.30 | 0 | 1.30.48-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-fips-1.31 | 0 | 1.31.37-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-fips-1.32 | 0 | 1.32.30-r2 |
| Chainguard | eks-distro-kubernetes-csi-livenessprobe-fips-1.33 | 0 | 1.33.20-r2 |
Related vulnerabilities
- CVE-2025-4673 Proxy-Authorization and Proxy-Authenticate headers persisted on cross-origin redirects… Also affects opentelemetry-collector
- CVE-2025-22871 The net/http package improperly accepts a bare LF as a line terminator in chunked data… Also affects opentelemetry-collector
- CVE-2026-32287 Boolean XPath expressions that evaluate to true can cause an infinite loop in… Also affects amazon-cloudwatch-agent
- CVE-2026-33186 gRPC-Go is the Go language implementation of gRPC. Also affects amazon-cloudwatch-agent
- CVE-2026-27142 Actions which insert URLs into the content attribute of HTML meta tags are not escaped. Also affects amazon-cloudwatch-agent
- CVE-2026-27139 On Unix platforms, when listing the contents of a directory using File.ReadDir or… Also affects amazon-cloudwatch-agent
- CVE-2026-25679 url.Parse insufficiently validated the host/authority component and accepted some invalid… Also affects amazon-cloudwatch-agent
- CVE-2026-24051 OpenTelemetry-Go is the Go implementation of OpenTelemetry. Also affects amazon-cloudwatch-agent