GHSA-w5x4-fq2q-m366HighCVSS 7.5
Dragonfly through 2.0.2 contains an unbounded memory allocation vulnerability that allows...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-111279
- https://github.com/dragonflydb/dragonfly/issues/8578
- https://github.com/dragonflydb/dragonfly
- https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/hset_family.cc#L1436-L1483
- https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/set_family.cc#L957-L984
- https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/zset_family.cc#L1519-L1522
- https://www.vulncheck.com/advisories/dragonfly-through-2.0.2-unbounded-memory-allocation-via-negative-count-in-hrandfield-zrandmember-and-srandmember
- https://github.com/advisories/GHSA-w5x4-fq2q-m366