Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-62357— DragonflyDB `CMS.INITBYDIM` integer overflow leads to a remote, attacker-controlled heap out-of-bounds write

Quick assessment

Affected
dragonflydb dragonfly
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Dragonfly 是一个为现代应用负载设计的内存数据存储系统。在 1.40.0 版本之前, 和 命令接受这样的维度参数:其宽度、深度与 的乘会发生整数溢出(发生在 中),导致分配的计数器缓冲区大小不足。而 和 命令则使用这些未进行边界检查的维度,这使得未经身份验证的远程客户端能够损坏或泄露相邻堆内存,并导致服务器崩溃。该问题已在 1.40.0 版本中得到修复。

CVSS 8.8 · High EPSS 0.38% · P32

Affected Version Matrix 1

VendorProduct Version RangeStatus
dragonflydb dragonfly < 1.40.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-62357

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
DragonflyDB `CMS.INITBYDIM` integer overflow leads to a remote, attacker-controlled heap out-of-bounds write
Source: CVE Program / CVE List V5
Vulnerability Description
Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40.0, CMS.INITBYDIM and CMS.INITBYPROB accept dimensions whose width times depth times sizeof(int64_t) overflows in src/core/cms.cc, allocating an undersized counter buffer while CMS.INCRBY and CMS.QUERY use the unbounded dimensions, which allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server. This issue is fixed in version 1.40.0.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
dragonflydb dragonfly < 1.40.0 -

II. Public POCs for CVE-2026-62357

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6843 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-62357

登录查看更多情报信息。

Patches & Fixes for CVE-2026-62357 (2)

Vendor Advisories for CVE-2026-62357 (1)

Vendor Pages for CVE-2026-62357 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-62357

No comments yet


Leave a comment