Allocation of Resources Without Limits or Throttling Affecting github.com/grafana/grafana/pkg/expr/mathexp package, versions >=8.0.0 <11.6.4>=12.0.0 <12.1.10>=12.2.0 <12.2.8>=12.3.0 <12.3.6>=12.4.0 <12.4.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (30th 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-GITHUBCOMGRAFANAGRAFANAPKGEXPRMATHEXP-15874149
  • published2 Apr 2026
  • disclosed27 Mar 2026
  • creditUnknown

Introduced: 27 Mar 2026

CVE-2026-27879  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/grafana/pkg/expr/mathexp to version 11.6.4, 12.1.10, 12.2.8, 12.3.6, 12.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the lack of the upsample size in mathexp.Resample query. An attacker can cause the system to crash or become unresponsive by sending specially crafted queries that trigger excessive memory consumption.

CVSS Base Scores

version 4.0
version 3.1