CVE-2025-65942: Github.com/VictoriaMetrics/VictoriaMetrics Denial of Service Vulnerability
LOWCVE-2025-65942 is a LOW (CVSS 2.7) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Github.com/VictoriaMetrics/VictoriaMetrics libraries in the Go ecosystem. The issue involves victoriametrics' snappy decoder dos vulnerability is causing oom. Remediation is available by upgrading affected packages to version 1.129.1, 1.122.8, 1.110.23.
CVE-2025-65942 at a Glance
Security Impact
CVSS: 2.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2025-65942
To remediate this vulnerability, upgrade all affected Github.com/VictoriaMetrics/VictoriaMetrics dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/VictoriaMetrics/VictoriaMetrics to 1.129.1
Upgrade github.com/VictoriaMetrics/VictoriaMetrics to 1.122.8
Upgrade github.com/VictoriaMetrics/VictoriaMetrics to 1.110.23
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/VictoriaMetrics/VictoriaMetrics
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-65942, inspect your project dependencies for Github.com/VictoriaMetrics/VictoriaMetrics:
inspect dependencies for github.com/VictoriaMetrics/VictoriaMetrics
Analyze the terminal output to locate any version of Github.com/VictoriaMetrics/VictoriaMetrics in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.129.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Github.com/VictoriaMetrics/VictoriaMetrics, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-65942 Affected Github.com/VictoriaMetrics/VictoriaMetrics Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/VictoriaMetrics/VictoriaMetrics
|
Go |
≥ 1.123.0
< 1.129.1
|
1.129.1
|
|
github.com/VictoriaMetrics/VictoriaMetrics
|
Go |
≥ 1.111.0
< 1.122.8
|
1.122.8
|
|
github.com/VictoriaMetrics/VictoriaMetrics
|
Go |
≥ 1.0.0
< 1.110.23
|
1.110.23
|
References
Frequently Asked Questions
What is CVE-2025-65942?
Which Github.com/VictoriaMetrics/VictoriaMetrics versions are affected?
What version fixes CVE-2025-65942?
Is github.com/VictoriaMetrics/VictoriaMetrics affected?
What is the CVSS score of CVE-2025-65942?
What CWE is associated with CVE-2025-65942?
How can I check Go dependencies for CVE-2025-65942?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-66jq-2c23-2xh5",
"modified" : "2025-12-17T00:35:05Z",
"published" : "2025-11-25T20:40:13Z",
"aliases" : [ "CVE-2025-65942" ],
"summary" : "VictoriaMetrics' Snappy Decoder DoS Vulnerability is Causing OOM",
"details" : "### Impact\nAffected versions are vulnerable to DoS attacks because the snappy decoder ignored VictoriaMetrics request size limits allowing malformed blocks to trigger excessive memory use. This could lead to OOM errors and service instability. The fix enforces block-size checks based on MaxRequest limits.\n\n### Patches\nVersions 1.129.1, 1.122.8, 1.110.23\n\n### Resources\n - https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.129.1\n - https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.8\n - https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.110.23\n \n### Note \nVictoriaMetrics' security model assumes its APIs are properly secured (e.g. via access control flags or a firewall); this advisory addresses malicious input that should not be possible under a [correctly secured](https://docs.victoriametrics.com/victoriametrics/single-server-victoriametrics/#security) deployment.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/VictoriaMetrics/VictoriaMetrics"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.123.0"
}, {
"fixed" : "1.129.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/VictoriaMetrics/VictoriaMetrics"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.111.0"
}, {
"fixed" : "1.122.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/VictoriaMetrics/VictoriaMetrics"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.110.23"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-66jq-2c23-2xh5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65942"
}, {
"type" : "WEB",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/commit/51b44afd34d2c9a392d4ebedeeb5b4a7f5beca24"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics"
}, {
"type" : "WEB",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.110.23"
}, {
"type" : "WEB",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.8"
}, {
"type" : "WEB",
"url" : "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.129.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-25T20:40:13Z",
"nvd_published_at" : "2025-11-25T23:15:47Z"
}
}