Skip to main content
EPSS 0.5%top 58%

CVE-2026-62357: CWE-190: Integer Overflow or Wraparound in dragonflydb dragonfly

0
High
VulnerabilityCVE-2026-62357cvecve-2026-62357cwe-190
Published: 08/18/2026 (08/18/2026, 15:18:52 UTC)
Source: CVE Database V5
Vendor/Project: dragonflydb
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

dragonflydb

dragonfly

Affected versions
<1.40.0
GitHub Actionsmore threats →ai
dragonflydb/dragonfly
pkg:github/dragonflydb/dragonfly
Affected versions
<1.40.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 21:33:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses