{"id":"CVE-2026-111279","published":"2026-10-15T22:19:29.157","lastModified":"2026-10-16T20:17:19.980","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-789"],"vendors":[],"products":[],"references":[{"url":"https://github.com/dragonflydb/dragonfly","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/hset_family.cc#L1436-L1483","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/set_family.cc#L957-L984","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/zset_family.cc#L1519-L1522","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/issues/8578","tags":[]},{"url":"https://www.vulncheck.com/advisories/dragonfly-through-2.0.2-unbounded-memory-allocation-via-negative-count-in-hrandfield-zrandmember-and-srandmember","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/issues/8578","tags":[]}],"exploitRefs":[{"url":"https://github.com/dragonflydb/dragonfly","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/hset_family.cc#L1436-L1483","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/set_family.cc#L957-L984","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/blob/8ce4bbb106586057fbd85f71ed353c60d0d5bf87/src/server/zset_family.cc#L1519-L1522","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/issues/8578","tags":[]},{"url":"https://github.com/dragonflydb/dragonfly/issues/8578","tags":[]}],"hasPoc":true,"ai":null}