---
id: CVE-2026-111279
title: >-
  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
summary: >-
  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
  comman…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
vendor: dragonflydb
product: dragonfly
affected:
  - dragonfly <= 2.0.2
published: '2026-10-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:17:19.980'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111279'
references:
  - url: 'https://github.com/dragonflydb/dragonfly'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/hset_family.cc#L1436-L1483
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/set_family.cc#L957-L984
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/zset_family.cc#L1519-L1522
    label: disclosure@vulncheck.com
  - url: 'https://github.com/dragonflydb/dragonfly/issues/8578'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dragonfly-through-2.0.2-unbounded-memory-allocation-via-negative-count-in-hrandfield-zrandmember-and-srandmember
    label: disclosure@vulncheck.com
  - url: 'https://github.com/dragonflydb/dragonfly/issues/8578'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00589
epssPercentile: 0.48262
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-16T19:43:16.935776Z'
ingestedAt: '2026-10-15T22:48:25.448Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
