Paper/Archive/CVE-2026-104192

CVE-2026-104192

dragonflydb dragonfly — DragonflyDB stream RDB deserialization double-free

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
dragonfly< 1.40–CNA

Scores by source

GitHub_M (CNA)9.6CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/dragonflydb/dragonfly/security/advisories/GHSA-cg35-6jf4-crfhrefgithub.com/dragonflydb/dragonfly/pull/7929refgithub.com/dragonflydb/dragonfly/commit/6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e