Expr has Denial of Service via Unbounded Recursion in Builtin Functions
Collected exploitation and prediction evidence
Risk source coverageCISA KEV is observed exploitation evidence. FIRST EPSS is a dated prediction of exploitation in the next 30 days. Missing scores are unknown. This collector requests predictions only for explicit CVE aliases in the public NuGet archive; Microsoft release views retain their existing prediction scope.
No collected risk observation for these identifiers. This does not establish absence of exploitation or a zero probability.
cve-program · CVE-2025-68156
PublishedExpr 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.
- Source published
- 16 Dec 2025 18:24:11 UTC
- Source modified
- 16 Dec 2025 19:59:24 UTC
- Observed here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
euvd · EUVD-2025-203831
PublishedExpr 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.
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Dec 16, 2025, 6:24:11 PM
dateUpdated: Dec 16, 2025, 7:59:24 PM
31 related source bulletins · separate from aliases
RHSA-2025:23729: Red Hat Security Advisory: opentelemetry-collector security update
CVE-2025-68156
openSUSE-SU-2026:20140-1: Security update for alloy
CVE-2025-31133 · CVE-2025-52565 · CVE-2025-52881 · CVE-2025-68156
SUSE-SU-2026:0630-1: Security update 5.1.2 for Multi-Linux Manager Client Tools
CVE-2025-12816 · CVE-2025-68156
RHSA-2026:2695: Red Hat Security Advisory: RHOAI 2.25.2 - Red Hat OpenShift AI
CVE-2025-12805 · CVE-2025-12816 · CVE-2025-14925 · CVE-2025-52881 · CVE-2025-66034 · CVE-2025-66418 · CVE-2025-66471 · CVE-2025-66506 · CVE-2025-66626 · CVE-2025-68156 · CVE-2025-68476 · CVE-2025-69223 · CVE-2026-21441 · CVE-2026-24049
RHSA-2026:2572: Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.14.2 security update
CVE-2025-7195 · CVE-2025-47907 · CVE-2025-53547 · CVE-2025-58183 · CVE-2025-61729 · CVE-2025-68156 · CVE-2026-22029
openSUSE-SU-2025:15832-1: coredns-for-k8s1.35-1.13.1-2.1 on GA media
CVE-2025-68156
RHSA-2026:1017: Red Hat Security Advisory: Red Hat OpenShift GitOps v1.18.3 security update
CVE-2025-13888 · CVE-2025-47913 · CVE-2025-55190 · CVE-2025-58183 · CVE-2025-61729 · CVE-2025-68156
openSUSE-SU-2026:10021-1: coredns-1.14.0-1.1 on GA media
CVE-2025-68156
RHSA-2026:0514: Red Hat Security Advisory: opentelemetry-collector security update
CVE-2025-68156
openSUSE-SU-2026:20099-1: Security update for coredns
CVE-2024-51744 · CVE-2025-58063 · CVE-2025-68156 · CVE-2025-68161
RHSA-2026:5807: Red Hat Security Advisory: RHOAI 2.16.4 - Red Hat OpenShift AI
CVE-2024-25621 · CVE-2025-6193 · CVE-2025-12060 · CVE-2025-12638 · CVE-2025-12816 · CVE-2025-61726 · CVE-2025-61729 · CVE-2025-66031 · CVE-2025-66418 · CVE-2025-66626 · CVE-2025-68156 · CVE-2025-69873 · CVE-2026-1526 · CVE-2026-1528 · CVE-2026-2229 · CVE-2026-25223 · CVE-2026-25639 · CVE-2026-29074 · CVE-2026-32141
SUSE-SU-2026:1013-1: Security update 5.0.7 for Multi-Linux Manager Client Tools
CVE-2025-12816 · CVE-2025-13465 · CVE-2025-3415 · CVE-2025-61140 · CVE-2025-68156 · CVE-2026-1615 · CVE-2026-21720 · CVE-2026-21721 · CVE-2026-21722 · CVE-2026-25547 · CVE-2026-27606
RHSA-2026:2368: Red Hat Security Advisory: Custom Metrics Autoscaler Operator for Red Hat OpenShift 2.18.1-2 Update
CVE-2025-68156 · CVE-2025-68476
RHSA-2026:3713: Red Hat Security Advisory: RHOAI 3.3 - Red Hat OpenShift AI
CVE-2024-25621 · CVE-2025-6242 · CVE-2025-12638 · CVE-2025-12816 · CVE-2025-14180 · CVE-2025-14920 · CVE-2025-14921 · CVE-2025-14922 · CVE-2025-14924 · CVE-2025-14925 · CVE-2025-14926 · CVE-2025-14927 · CVE-2025-14928 · CVE-2025-14929 · CVE-2025-14930 · CVE-2025-15284 · CVE-2025-48956 · CVE-2025-52881 · CVE-2025-59425 · CVE-2025-61726 · CVE-2025-61729 · CVE-2025-62164 · CVE-2025-62593 · CVE-2025-64756 · CVE-2025-66031 · CVE-2025-66034 · CVE-2025-66416 · CVE-2025-66418 · CVE-2025-66448 · CVE-2025-66471 · CVE-2025-66506 · CVE-2025-66626 · CVE-2025-67725 · CVE-2025-67726 · CVE-2025-68156 · CVE-2025-68476 · CVE-2025-68665 · CVE-2025-69223 · CVE-2025-69872 · CVE-2026-0897 · CVE-2026-1260 · CVE-2026-21441 · CVE-2026-22778 · CVE-2026-22807 · CVE-2026-24049 · CVE-2026-24486
SUSE-SU-2026:0327-1: Security update for alloy
CVE-2025-31133 · CVE-2025-52565 · CVE-2025-52881 · CVE-2025-68156
openSUSE-SU-2026:10067-1: grafana-11.6.7-2.1 on GA media
CVE-2025-68156
RHSA-2026:1018: Red Hat Security Advisory: Red Hat OpenShift GitOps v1.17.4 security update
CVE-2025-47913 · CVE-2025-55190 · CVE-2025-58183 · CVE-2025-58754 · CVE-2025-61729 · CVE-2025-68156
RHSA-2026:0512: Red Hat Security Advisory: opentelemetry-collector security update
CVE-2025-68156
RHSA-2026:0513: Red Hat Security Advisory: opentelemetry-collector security update
CVE-2025-68156
RHSA-2026:2106: Red Hat Security Advisory: RHOAI 2.25.2 - Red Hat OpenShift AI
CVE-2025-12805 · CVE-2025-12816 · CVE-2025-52881 · CVE-2025-66034 · CVE-2025-66418 · CVE-2025-66471 · CVE-2025-66506 · CVE-2025-66626 · CVE-2025-67725 · CVE-2025-67726 · CVE-2025-68156 · CVE-2025-68476 · CVE-2025-69223 · CVE-2026-21441 · CVE-2026-24049
WID-SEC-W-2025-2886: Red Hat Enterprise Linux (git-lfs, opentelemetry-collector): Mehrere Schwachstellen
CVE-2025-26625 · CVE-2025-68156
SUSE-SU-2026:1037-1: Security update for grafana
CVE-2025-3415 · CVE-2025-68156 · CVE-2026-21720 · CVE-2026-21721 · CVE-2026-21722
openSUSE-SU-2026:20654-1: Security update for grafana
CVE-2023-45288 · CVE-2024-11741 · CVE-2024-28180 · CVE-2024-45339 · CVE-2024-51744 · CVE-2024-9264 · CVE-2024-9476 · CVE-2025-11065 · CVE-2025-21613 · CVE-2025-22870 · CVE-2025-22872 · CVE-2025-2703 · CVE-2025-27144 · CVE-2025-29923 · CVE-2025-3415 · CVE-2025-3454 · CVE-2025-3580 · CVE-2025-4123 · CVE-2025-47911 · CVE-2025-58190 · CVE-2025-6023 · CVE-2025-6197 · CVE-2025-64751 · CVE-2025-68156 · CVE-2026-21720 · CVE-2026-21721 · CVE-2026-21722
RHSA-2025:23664: Red Hat Security Advisory: opentelemetry-collector security update
CVE-2025-68156
SUSE-SU-2026:0628-1: Security update 5.1.2 for Multi-Linux Manager Client Tools
CVE-2025-12816 · CVE-2025-68156
RHSA-2026:15979: Red Hat Security Advisory: Red Hat Ceph Storage
CVE-2025-13033 · CVE-2025-47914 · CVE-2025-58181 · CVE-2025-61729 · CVE-2025-64718 · CVE-2025-64756 · CVE-2025-68156
openSUSE-SU-2026:10073-1: alloy-1.12.2-2.1 on GA media
CVE-2025-31133 · CVE-2025-68156
openSUSE-SU-2025:15826-1: coredns-for-k8s1.34-1.12.1-2.1 on GA media
CVE-2025-68156
openSUSE-SU-2025:15825-1: coredns-for-k8s1.33-1.12.0-2.1 on GA media
CVE-2025-68156
SUSE-SU-2026:20214-1: Security update for alloy
CVE-2025-31133 · CVE-2025-52565 · CVE-2025-52881 · CVE-2025-68156
msrc_CVE-2025-68156: Expr has Denial of Service via Unbounded Recursion in Builtin Functions
CVE-2025-68156
- Source published
- Dec 16, 2025, 6:24:11 PM (timezone not stated)
- Source modified
- Dec 16, 2025, 7:59:24 PM (timezone not stated)
- Observed here
- 9 Nov 2026 04:10:54 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: euvd · ENISA EUVD · source terms and attribution apply. Source text is retained; field grouping and change labels are provided by ChangeIntel.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd · CVE-2025-68156
PublishedExpr 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.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-770
Original publisher date fields
published: 2025-12-16T19:16:00.567
lastModified: 2026-10-13T11:10:00.203
1 source CPE criteria · context only
- cpe:2.3:a:expr-lang:expr:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 16 Dec 2025 19:16:00 UTC
- Source modified
- 13 Oct 2026 11:10:00 UTC
- Observed here
- 25 Oct 2026 04:17:10 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv · GHSA-cfpf-hrx2-8rv6
PublishedSeveral 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. ### Impact 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. * 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. ### Patches 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. ### Workarounds For users who cannot immediately upgrade, the following mitigations are recommended: * Ensure that evaluation environments cannot contain cyclic references. * Validate or sanitize externally supplied data structures before passing them to Expr. * 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.
- Source published
- 16 Dec 2025 22:34:16 UTC
- Source modified
- 10 Sep 2026 03:50:58 UTC
- Observed here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · GitHub Advisory Database · CC-BY-4.0. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher rating · HIGH
osv · GO-2025-4245
PublishedExpr has Denial of Service via Unbounded Recursion in Builtin Functions in github.com/expr-lang/expr
- Source published
- 22 Dec 2025 18:15:35 UTC
- Source modified
- 4 Feb 2026 04:25:04 UTC
- Observed here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.