Live threats

All CVEs / dragonflydb

CVE-2026-104192dragonflydb dragonfly

Double-free memory corruption in Dragonfly RDB stream loading

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
—
Auth required
No
Published
Oct 13, 2026
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

Dragonfly prior to version 1.40 contains a double-free memory corruption vulnerability in RDB stream processing. An unauthenticated client can send a crafted serialized stream to the RESTORE command to trigger memory corruption, causing denial of service and potentially arbitrary code execution with Dragonfly service account privileges.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.40

Update Dragonfly to version 1.40 or later where the double-free memory corruption vulnerability has been fixed.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for dragonfly.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.