{"id":"CVE-2026-104192","summary":"DragonflyDB stream RDB deserialization double-free","details":"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.","aliases":["GHSA-cg35-6jf4-crfh"],"modified":"2026-10-28T11:03:37.603756575Z","published":"2026-10-13T14:42:54.248Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104192.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-415"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104192.json"},{"type":"ADVISORY","url":"https://github.com/dragonflydb/dragonfly/security/advisories/GHSA-cg35-6jf4-crfh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104192"},{"type":"FIX","url":"https://github.com/dragonflydb/dragonfly/commit/6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e"},{"type":"FIX","url":"https://github.com/dragonflydb/dragonfly/pull/7929"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dragonflydb/dragonfly","events":[{"introduced":"0"},{"fixed":"e4ebd87e85c011f72aa646942ef87b8703d3443b"},{"fixed":"6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.40"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["i1.39.11","i1.39.10","i1.39.9","i1.39.8","i1.39.6","i1.39.4","i1.39.2","v1.39.0","v1.38.0","v1.37.0","v1.36.0","i1.36.3","i1.36.2","v1.32.0","i1.36.1","v1.35.0","v1.34.0","i1.33.3","v1.33.0","v1.31.0","v1.30.0","v1.29.0","v1.28.0","v1.27.0","v1.26.0","v1.24.0","v1.23.0","v1.22.0","v1.21.0","v1.20.0","v1.19.0","v1.18.0","v1.17.0","v1.16.0","v1.15.0","w0.1","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.3.0-alpha","v0.2.0","v0.1.0"],"database_specific":{"vanir_signatures_modified":"2026-10-28T11:03:37Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104192.json","vanir_signatures":[{"digest":{"function_hash":"70747932640592046852440798490832560557","length":4011},"id":"CVE-2026-104192-0840a935","signature_type":"Function","signature_version":"v1","source":"https://github.com/dragonflydb/dragonfly/commit/6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e","target":{"function":"RdbLoaderBase::OpaqueObjLoader::CreateStream","file":"src/server/rdb_load.cc"},"deprecated":false},{"id":"CVE-2026-104192-5825efe5","signature_type":"Line","signature_version":"v1","source":"https://github.com/dragonflydb/dragonfly/commit/6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e","target":{"file":"src/server/rdb_load.cc"},"deprecated":false,"digest":{"line_hashes":["96945642161910527949439963348450675465","230620095244364076347752777121526078286","73983413868698555454988981588278094932","98019987284181164350258702165891068734","129508725008240923835562497048586233025","226085660989473987136899373137802372711","108603898629392619084853752335583394473","94195233543238214105912610949950834529","297659766211006029497824619099666076922","228522937454434867001642119522579307469","179078042154783376223618177287702548100","293949540968280903538352693917672011553","108587633537507210242609878158511307392","46469711253135682365638357291094311266","189672472467426239838828045207005823570"],"threshold":0.9}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/dragonflydb/dragonfly/commit/e4ebd87e85c011f72aa646942ef87b8703d3443b","target":{"file":"src/server/db_slice.cc"},"deprecated":false,"digest":{"line_hashes":["126266558296851872821442021129732622758","309387694038384607946984148821318057030","18383488015668467856844079310516349067","195143117881872716203820970696667162848","11583402942871686552239329101928941686"],"threshold":0.9},"id":"CVE-2026-104192-8f6c6fd4"},{"target":{"function":"AccountObjectMemory","file":"src/server/db_slice.cc"},"deprecated":false,"digest":{"function_hash":"95380582024133472853688761177186158628","length":554},"id":"CVE-2026-104192-af9ef26d","signature_type":"Function","signature_version":"v1","source":"https://github.com/dragonflydb/dragonfly/commit/e4ebd87e85c011f72aa646942ef87b8703d3443b"},{"target":{"file":"src/server/rdb_test.cc"},"deprecated":false,"digest":{"line_hashes":["197674841751952715787789723882640382912","179334845802276978621533515858728889448","18815629224863233378121120885859628360"],"threshold":0.9},"id":"CVE-2026-104192-da4ec3f5","signature_type":"Line","signature_version":"v1","source":"https://github.com/dragonflydb/dragonfly/commit/6c6b27a5cfd03d67eb9583ab84a0f0709e3bc77e"}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}