Description
Dragonfly through 2.0.2 contains an unbounded memory allocation vulnerability that allows unauthenticated clients to exhaust memory by passing a negative COUNT to HRANDFIELD, ZRANDMEMBER or SRANDMEMBER. Attackers can send a single command against a one-element key with a huge negative COUNT to trigger the OOM killer, terminating the instance for all clients.
Published: 2026-10-15
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via unbounded memory allocation
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows an unauthenticated client to request a negative COUNT value for the HRANDFIELD, ZRANDMEMBER, or SRANDMEMBER commands. The server blindly interprets the negative argument as a request for a quantity of elements, resulting in an allocation that grows without bound. The oversized allocation triggers the operating system’s OOM killer, terminating the Dragonfly process and disconnecting all connected clients, thereby causing a forced denial of service.

Affected Systems

The flaw is present in DragonflyDB version 2.0.2 and all newer versions up to that point. The issue resides in the set, sorted set, and hyperloglog command families and does not require any user authentication, so any host that can reach the Dragonfly port may supply the malignant command.

Risk and Exploitability

The CVSS score of 8.7 reflects the high severity of the denial of service impact, while the EPSS score of less than 1% indicates a very low observed exploitation probability. Because the flaw is not listed in the CISA KEV catalog, there is no evidence of active exploitation, yet a single malicious command can trigger the crash. The most likely attack vector is a network connection to the Dragonfly server using its client protocol; no elevated privileges or additional software are required.

Generated by OpenCVE AI on October 16, 2026 at 16:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DragonflyDB to version 2.0.3 or later, which includes the fix for the unbounded memory allocation bug.
  • Restrict inbound connections to the Dragonfly port to trusted hosts or subnets using firewall or network segmentation to reduce the attack surface for unauthenticated exploitation.
  • Configure resource limits such as cgroups or container quotas to cap memory usage by the Dragonfly process, mitigating the impact of a potential memory exhaustion attempt.

Generated by OpenCVE AI on October 16, 2026 at 16:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description Dragonfly through 2.0.2 contains an unbounded memory allocation vulnerability that allows unauthenticated clients to exhaust memory by passing a negative COUNT to HRANDFIELD, ZRANDMEMBER or SRANDMEMBER. Attackers can send a single command against a one-element key with a huge negative COUNT to trigger the OOM killer, terminating the instance for all clients.
Title Dragonfly through 2.0.2 Unbounded Memory Allocation via Negative COUNT in HRANDFIELD, ZRANDMEMBER and SRANDMEMBER
First Time appeared Dragonflydb
Dragonflydb dragonfly
Weaknesses CWE-789
CPEs cpe:2.3:a:dragonflydb:dragonfly:*:*:*:*:*:*:*:*
Vendors & Products Dragonflydb
Dragonflydb dragonfly
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Dragonflydb Dragonfly
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T19:43:45.103Z

Reserved: 2026-10-15T19:46:06.408Z

Link: CVE-2026-111279

cve-icon Vulnrichment

Updated: 2026-10-16T19:43:36.823Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T22:19:29.157

Modified: 2026-10-16T20:17:19.980

Link: CVE-2026-111279

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:15:07Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value