CVE-2025-65942: VictoriaMetrics' Snappy Decoder DoS Vulnerability is Causing OOM
Impact Affected 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.
Published Nov 25, 2025 · Updated Nov 27, 2025
Affected packages
github.com/VictoriaMetrics/VictoriaMetrics
- Ecosystem
- Go
- Affected
- >= 1.123.0, < 1.129.1
- Fixed in
- 1.129.1
- Check
go list -m github.com/VictoriaMetrics/VictoriaMetrics
github.com/VictoriaMetrics/VictoriaMetrics
- Ecosystem
- Go
- Affected
- >= 1.111.0, < 1.122.8
- Fixed in
- 1.122.8
- Check
go list -m github.com/VictoriaMetrics/VictoriaMetrics
github.com/VictoriaMetrics/VictoriaMetrics
- Ecosystem
- Go
- Affected
- >= 1.0.0, < 1.110.23
- Fixed in
- 1.110.23
- Check
go list -m github.com/VictoriaMetrics/VictoriaMetrics
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Affected 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.
Patches
Versions 1.129.1, 1.122.8, 1.110.23
Resources
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.129.1
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.8
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.110.23
Note
VictoriaMetrics' 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 deployment.
Credited to hoang-prod.
References
- https://github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-66jq-2c23-2xh5
- https://github.com/VictoriaMetrics/VictoriaMetrics/commit/51b44afd34d2c9a392d4ebedeeb5b4a7f5beca24
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.110.23
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.8
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.129.1
- https://nvd.nist.gov/vuln/detail/CVE-2025-65942
- https://github.com/advisories/GHSA-66jq-2c23-2xh5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
