CVE-2026-62357: CWE-190: Integer Overflow or Wraparound in dragonflydb dragonfly
CVE-2026-62357 is an integer overflow vulnerability in dragonflydb's dragonfly prior to version 1.40.0. The flaw occurs in CMS.INITBYDIM and CMS.INITBYPROB functions, where dimensions can overflow when calculating buffer size, leading to undersized allocation. This allows an unauthenticated remote attacker to corrupt or disclose adjacent heap memory and potentially crash the server. The issue is fixed in version 1.40.0.
AI Analysis
Technical Summary
Dragonflydb versions before 1.40.0 contain an integer overflow in the src/core/cms.cc file within CMS.INITBYDIM and CMS.INITBYPROB functions. These functions accept dimensions whose calculation (width × depth × sizeof(int64_t)) can overflow, causing an undersized counter buffer allocation. Subsequent operations CMS.INCRBY and CMS.QUERY use the unbounded dimensions, enabling an unauthenticated remote client to corrupt or disclose adjacent heap memory and cause a server crash. The vulnerability is addressed in version 1.40.0.
Potential Impact
An unauthenticated remote attacker can exploit this integer overflow to corrupt or disclose adjacent heap memory, leading to potential data leakage or denial of service by crashing the server. The vulnerability affects confidentiality and availability with high severity (CVSS 8.8).
Mitigation Recommendations
Upgrade to dragonfly version 1.40.0 or later, where this vulnerability is fixed. No other mitigation is required as the issue is resolved in the official patch.
CVE-2026-62357: CWE-190: Integer Overflow or Wraparound in dragonflydb dragonfly
Description
CVE-2026-62357 is an integer overflow vulnerability in dragonflydb's dragonfly prior to version 1.40.0. The flaw occurs in CMS.INITBYDIM and CMS.INITBYPROB functions, where dimensions can overflow when calculating buffer size, leading to undersized allocation. This allows an unauthenticated remote attacker to corrupt or disclose adjacent heap memory and potentially crash the server. The issue is fixed in version 1.40.0.
CVSS v4.0
Score 8.8high
Affected software
dragonflydb
dragonfly
pkg:github/dragonflydb/dragonflyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dragonflydb versions before 1.40.0 contain an integer overflow in the src/core/cms.cc file within CMS.INITBYDIM and CMS.INITBYPROB functions. These functions accept dimensions whose calculation (width × depth × sizeof(int64_t)) can overflow, causing an undersized counter buffer allocation. Subsequent operations CMS.INCRBY and CMS.QUERY use the unbounded dimensions, enabling an unauthenticated remote client to corrupt or disclose adjacent heap memory and cause a server crash. The vulnerability is addressed in version 1.40.0.
Potential Impact
An unauthenticated remote attacker can exploit this integer overflow to corrupt or disclose adjacent heap memory, leading to potential data leakage or denial of service by crashing the server. The vulnerability affects confidentiality and availability with high severity (CVSS 8.8).
Mitigation Recommendations
Upgrade to dragonfly version 1.40.0 or later, where this vulnerability is fixed. No other mitigation is required as the issue is resolved in the official patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-13T22:04:59.677Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a847b9ec6e8be03326654b5
Added to database: 08/18/2026, 15:34:54 UTC
Last enriched: 09/11/2026, 21:33:27 UTC
Last updated: 10/03/2026, 14:46:09 UTC
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.