CVE-2026-104192 PUBLISHED

DragonflyDB stream RDB deserialization double-free

Assigner: GitHub_M
Reserved: 01.10.2026 Published: 13.10.2026 Updated: 13.10.2026

Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40, OpaqueObjLoader::CreateStream in src/server/rdb_load.cc can associate one streamNACK with a consumer group's global PEL and a consumer-local PEL, then free the shared object when a duplicate consumer entry is rejected. Cleanup subsequently frees the same object again. In the default configuration, where Dragonfly ships with authentication disabled, an unauthenticated client can trigger the double-free by sending a crafted serialized stream to RESTORE, causing allocator corruption, denial of service, and potentially attacker-controlled code execution as the Dragonfly service account. The source fix has not yet been mapped to a published release.

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.6

Product Status

Vendor dragonflydb
Product dragonfly
Versions
  • Version < 1.40 is affected

References

Problem Types

  • CWE-415: Double Free CWE