CVE-2025-68156
published high CVSS 3.1 · 7.5Expr has Denial of Service via Unbounded Recursion in Builtin Functions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| expr-lang | — | expr< 1.17.7 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3120 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1358 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | opentelemetry-collector | Advisory build | 0.135.0-2.el10_1 | ALSA-2025:23664 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectoraarch64 | Advisory build | 0.135.0-2.el10_0 | RHSA-2026:0514 |
| SUSE / openSUSE | SLE-15-SP7 | alloyaarch64 | Advisory build | 1.12.2-150700.15.15.1 | SUSE-SU-2026:0327-1 |
| AlmaLinux | 9 | opentelemetry-collector | Advisory build | 0.135.0-2.el9_7 | ALSA-2025:23729 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectoraarch64 | Advisory build | 0.135.0-2.el10_1 | RHSA-2025:23664 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorppc64le | Advisory build | 0.135.0-2.el10_0 | RHSA-2026:0514 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorppc64le | Advisory build | 0.135.0-2.el10_1 | RHSA-2025:23664 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectors390x | Advisory build | 0.135.0-2.el10_0 | RHSA-2026:0514 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectors390x | Advisory build | 0.135.0-2.el10_1 | RHSA-2025:23664 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorsrc | Advisory build | 0.135.0-2.el10_0 | RHSA-2026:0514 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorsrc | Advisory build | 0.135.0-2.el10_1 | RHSA-2025:23664 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorx86_64 | Advisory build | 0.135.0-2.el10_0 | RHSA-2026:0514 |
| Red Hat Enterprise Linux | RHEL-10 | opentelemetry-collectorx86_64 | Advisory build | 0.135.0-2.el10_1 | RHSA-2025:23664 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectoraarch64 | Advisory build | 0.135.0-2.el9_4 | RHSA-2026:0512 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectoraarch64 | Advisory build | 0.135.0-2.el9_6 | RHSA-2026:0513 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectoraarch64 | Advisory build | 0.135.0-2.el9_7 | RHSA-2025:23729 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorppc64le | Advisory build | 0.135.0-2.el9_4 | RHSA-2026:0512 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorppc64le | Advisory build | 0.135.0-2.el9_6 | RHSA-2026:0513 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorppc64le | Advisory build | 0.135.0-2.el9_7 | RHSA-2025:23729 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectors390x | Advisory build | 0.135.0-2.el9_4 | RHSA-2026:0512 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectors390x | Advisory build | 0.135.0-2.el9_6 | RHSA-2026:0513 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectors390x | Advisory build | 0.135.0-2.el9_7 | RHSA-2025:23729 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorsrc | Advisory build | 0.135.0-2.el9_4 | RHSA-2026:0512 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorsrc | Advisory build | 0.135.0-2.el9_6 | RHSA-2026:0513 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorsrc | Advisory build | 0.135.0-2.el9_7 | RHSA-2025:23729 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorx86_64 | Advisory build | 0.135.0-2.el9_4 | RHSA-2026:0512 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorx86_64 | Advisory build | 0.135.0-2.el9_6 | RHSA-2026:0513 |
| Red Hat Enterprise Linux | RHEL-9 | opentelemetry-collectorx86_64 | Advisory build | 0.135.0-2.el9_7 | RHSA-2025:23729 |
| SUSE / openSUSE | SLE-15-SP7 | alloyppc64le | Advisory build | 1.12.2-150700.15.15.1 | SUSE-SU-2026:0327-1 |
| SUSE / openSUSE | SLE-15-SP7 | alloys390x | Advisory build | 1.12.2-150700.15.15.1 | SUSE-SU-2026:0327-1 |
| SUSE / openSUSE | SLE-15-SP7 | alloyx86_64 | Advisory build | 1.12.2-150700.15.15.1 | SUSE-SU-2026:0327-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-promuaarch64 | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-promuppc64le | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-promus390x | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-promux86_64 | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanaaarch64 | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanappc64le | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanas390x | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | SLE-15-SP7 | grafanax86_64 | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | SLE-16 | alloyaarch64 | Advisory build | 1.12.2-160000.1.1 | SUSE-SU-2026:20214-1 |
| SUSE / openSUSE | SLE-16 | alloyppc64le | Advisory build | 1.12.2-160000.1.1 | SUSE-SU-2026:20214-1 |
| SUSE / openSUSE | SLE-16 | alloys390x | Advisory build | 1.12.2-160000.1.1 | SUSE-SU-2026:20214-1 |
| SUSE / openSUSE | SLE-16 | alloyx86_64 | Advisory build | 1.12.2-160000.1.1 | SUSE-SU-2026:20214-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dracut-saltbootnoarch | Advisory build | 1.1.0-150000.1.65.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-QubitProducts-exporter_exporteraarch64 | Advisory build | 0.4.0-150000.1.21.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-QubitProducts-exporter_exporterppc64le | Advisory build | 0.4.0-150000.1.21.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-QubitProducts-exporter_exporters390x | Advisory build | 0.4.0-150000.1.21.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-QubitProducts-exporter_exporterx86_64 | Advisory build | 0.4.0-150000.1.21.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-boynux-squid_exporteraarch64 | Advisory build | 1.13.0-150000.1.12.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-boynux-squid_exporterppc64le | Advisory build | 1.13.0-150000.1.12.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-boynux-squid_exporters390x | Advisory build | 1.13.0-150000.1.12.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-boynux-squid_exporterx86_64 | Advisory build | 1.13.0-150000.1.12.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-lusitaniae-apache_exporteraarch64 | Advisory build | 1.0.10-150000.1.26.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-lusitaniae-apache_exporterppc64le | Advisory build | 1.0.10-150000.1.26.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-lusitaniae-apache_exporters390x | Advisory build | 1.0.10-150000.1.26.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-lusitaniae-apache_exporterx86_64 | Advisory build | 1.0.10-150000.1.26.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-prometheus-promuaarch64 | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-prometheus-promuppc64le | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-prometheus-promus390x | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | golang-github-prometheus-promux86_64 | Advisory build | 0.17.0-150000.3.30.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanaaarch64 | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanappc64le | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanas390x | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | grafanax86_64 | Advisory build | 11.6.11-150200.3.83.1 | SUSE-SU-2026:1037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporteraarch64 | Advisory build | 0.26.0-150000.1.30.2 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporterppc64le | Advisory build | 0.26.0-150000.1.30.2 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporters390x | Advisory build | 0.26.0-150000.1.30.2 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | prometheus-blackbox_exporterx86_64 | Advisory build | 0.26.0-150000.1.30.2 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | spacecmdnoarch | Advisory build | 5.0.15-150000.3.142.1 | SUSE-SU-2026:1013-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyaarch64 | Advisory build | 1.12.2-160000.1.1 | OPENSUSE-SU-2026:20140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyppc64le | Advisory build | 1.12.2-160000.1.1 | OPENSUSE-SU-2026:20140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloys390x | Advisory build | 1.12.2-160000.1.1 | OPENSUSE-SU-2026:20140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | alloyx86_64 | Advisory build | 1.12.2-160000.1.1 | OPENSUSE-SU-2026:20140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsaarch64 | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsppc64le | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsx86_64 | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | coredns-extrasnoarch | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanaaarch64 | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanappc64le | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanas390x | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | grafanax86_64 | Advisory build | 11.6.11-bp160.1.1 | OPENSUSE-SU-2026:20654-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyaarch64 | Advisory build | 1.12.2-2.1 | OPENSUSE-SU-2026:10073-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyppc64le | Advisory build | 1.12.2-2.1 | OPENSUSE-SU-2026:10073-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloys390x | Advisory build | 1.12.2-2.1 | OPENSUSE-SU-2026:10073-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | alloyx86_64 | Advisory build | 1.12.2-2.1 | OPENSUSE-SU-2026:10073-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corednsaarch64 | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corednsppc64le | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corednss390x | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corednsx86_64 | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-extrasaarch64 | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-extrasppc64le | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-extrass390x | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-extrasx86_64 | Advisory build | 1.14.0-1.1 | OPENSUSE-SU-2026:10021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33aarch64 | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33ppc64le | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33s390x | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33x86_64 | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33-extrasaarch64 | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33-extrasppc64le | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coredns-for-k8s1.33-extrass390x | Advisory build | 1.12.0-2.1 | OPENSUSE-SU-2025:15825-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| expr-lang | expr | < 1.17.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2GitHub_M · cna
Expr has Denial of Service via Unbounded Recursion in Builtin Functions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e65623a4271d4888eebe562d5e277f4569a4814223c35cba480fea4f45af3b75
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record