CVE-2026-62357: CWE-190: Integer Overflow or Wraparound in dragonflydb dragonfly
DragonflyDB versions prior to 1.40.0 contain an integer overflow vulnerability in the CMS.INITBYDIM and CMS.INITBYPROB functions. This flaw allows an unauthenticated remote client to cause heap memory corruption or disclosure and potentially crash the server by exploiting the mismatch between allocated buffer size and used dimensions. The issue is resolved in version 1.40.0.
AI Analysis
Technical Summary
DragonflyDB, an in-memory data store, has an integer overflow or wraparound vulnerability (CWE-190) in versions before 1.40.0. The vulnerability occurs because CMS.INITBYDIM and CMS.INITBYPROB accept dimensions where the product of width, depth, and sizeof(int64_t) overflows, leading to allocation of an undersized counter buffer. Subsequent operations CMS.INCRBY and CMS.QUERY use the unbounded dimensions, enabling an unauthenticated remote attacker to corrupt or disclose adjacent heap memory and cause a server crash. This vulnerability has a CVSS 4.0 score of 8.8, indicating high severity. The issue is fixed in DragonflyDB version 1.40.0.
Potential Impact
An unauthenticated remote attacker can exploit this integer overflow to corrupt or disclose adjacent heap memory and crash the DragonflyDB server. This can lead to denial of service and potential information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade DragonflyDB to version 1.40.0 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 1.40.0. No other mitigation or temporary fix is indicated.
CVE-2026-62357: CWE-190: Integer Overflow or Wraparound in dragonflydb dragonfly
Description
DragonflyDB versions prior to 1.40.0 contain an integer overflow vulnerability in the CMS.INITBYDIM and CMS.INITBYPROB functions. This flaw allows an unauthenticated remote client to cause heap memory corruption or disclosure and potentially crash the server by exploiting the mismatch between allocated buffer size and used dimensions. The issue is resolved in version 1.40.0.
CVSS v4.0
Score 8.8high
Affected software
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, an in-memory data store, has an integer overflow or wraparound vulnerability (CWE-190) in versions before 1.40.0. The vulnerability occurs because CMS.INITBYDIM and CMS.INITBYPROB accept dimensions where the product of width, depth, and sizeof(int64_t) overflows, leading to allocation of an undersized counter buffer. Subsequent operations CMS.INCRBY and CMS.QUERY use the unbounded dimensions, enabling an unauthenticated remote attacker to corrupt or disclose adjacent heap memory and cause a server crash. This vulnerability has a CVSS 4.0 score of 8.8, indicating high severity. The issue is fixed in DragonflyDB version 1.40.0.
Potential Impact
An unauthenticated remote attacker can exploit this integer overflow to corrupt or disclose adjacent heap memory and crash the DragonflyDB server. This can lead to denial of service and potential information disclosure. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade DragonflyDB to version 1.40.0 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 1.40.0. No other mitigation or temporary fix is indicated.
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
- Remediation Level
- null
Threat ID: 6a847b9ec6e8be03326654b5
Added to database: 08/18/2026, 15:34:54 UTC
Last enriched: 08/18/2026, 15:52:16 UTC
Last updated: 08/19/2026, 00:44:37 UTC
Views: 6
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.