Skip to main content

Valkey CVE-2026-82677

| EUVDEUVD-2026-68457 LOW
Double Free (CWE-415)
2026-08-31 VulDB GHSA-pjvh-64mj-595g
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain high-privilege Valkey operator access
  2. Delivery
    Load crafted module implementing self-stopping timer callback
  3. Exploit
    Timer fires triggering moduleTimerHandler
  4. Execution
    Callback invokes StopTimer on own ID, freeing timer
  5. Persist
    Handler double-frees already-freed timer object
  6. Impact
    Valkey process crash (availability impact)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires high-privilege access sufficient to load and control Valkey modules (PR:H per CVSS 4.0 vector) - this is typically restricted to operators or administrators of the Valkey instance. The Module Timer Subsystem must be active and a module must be loaded that registers a timer callback which calls ValkeyModule_StopTimer() on its own currently-firing timer ID; this is a non-default, specific code pattern not present in standard Valkey operations. UI:P in the CVSS 4.0 vector indicates the crash is triggered passively when the timer fires rather than requiring interactive user action. Exploitation is limited to: (1) deployments with module loading enabled, (2) an attacker possessing high-privilege module control, and (3) a module implementing the specific self-stopping timer pattern. Default Valkey deployments running no custom modules are not exposed to this vulnerability.

Impact

The CVSS 4.0 base score of 1.9 accurately reflects the highly constrained risk profile. AV:N confirms network reachability, but PR:H requires high-privilege access - specifically the ability to load and control Valkey modules - and VA:L caps the impact at a low-severity availability disruption (potential crash). No EPSS data was provided; however, given the high-privilege prerequisite, mass or opportunistic exploitation is implausible. The vulnerability is not listed in CISA KEV, so active exploitation in the wild is not confirmed. A public PoC is available (GitHub attachment), which elevates the theoretical risk slightly, but the exploitation conditions render this a low operational priority for the vast majority of Valkey deployments. The primary risk window is narrow: operators running custom or third-party Valkey modules that implement self-stopping timer callbacks. The 'Information Disclosure' tag in the input metadata is inconsistent with CVSS impact metrics (VC:N, VI:N, VA:L) and the CWE-415 classification - no confidentiality impact is indicated.

Exploit ScenarioDerived

A high-privileged attacker with the ability to load modules into a Valkey instance deploys a crafted module that registers a timer callback calling ValkeyModule_StopTimer() on its own timer ID. When the timer fires, moduleTimerHandler() double-frees the timer object after the callback returns, potentially corrupting the allocator and crashing the Valkey process. A public PoC demonstrating this exact scenario is available at https://github.com/user-attachments/files/30118801/PoC.zip.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Double-free memory corruption in Valkey 9.1.0's Module Timer Subsystem allows a high-privileged remote attacker to crash the server by triggering a self-stopping timer callback pattern. The moduleTimerHandler function in src/module.c frees the timer object both inside the callback (via ValkeyModule_StopTimer) and again after callback return, causing a double-free. A public proof-of-concept has been disclosed via GitHub, though the CVSS 4.0 score of 1.9 reflects that exploitation requires high-privilege module control, severely constraining real-world impact to low-severity availability disruption.

RemediationAI

Apply upstream patch commit b349fe2821e3998534b1454c1b64a478daf8c6b7, available via GitHub pull request https://github.com/valkey-io/valkey/pull/4211. Note that the fix is available at the commit and PR level; a formally versioned patched release has not been independently confirmed in the available data, so monitor the Valkey release page for a tagged release incorporating this commit. As a compensating control, audit all loaded Valkey modules to ensure none implement a self-stopping timer callback pattern (a callback invoking ValkeyModule_StopTimer on its own ID) - removing or rewriting such modules eliminates the exploitation condition entirely with no availability trade-off. If module loading is not operationally required, disabling it via configuration removes the entire Module Timer attack surface; this is the strongest available workaround until a patched release is confirmed.

Affected VersionsENISA

Valkey 9.1.0

Affected Packages

euvd valkey no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Valkey (cpe:2.3:a:valkey-io:valkey) is a Linux Foundation-maintained, open-source Redis-compatible in-memory data store. The vulnerability resides in the Module Timer Subsystem in src/module.c within the moduleTimerHandler() event-loop callback. The root cause (CWE-415 Double Free) arises from a use-after-free cleanup race: when a module timer callback invokes ValkeyModule_StopTimer() on its own firing timer ID, the radix-tree entry and timer object are freed inside the callback; upon return, moduleTimerHandler() calls raxRemove() and zfree() on the same already-freed pointer. The upstream fix (commit b349fe2821e3998534b1454c1b64a478daf8c6b7, PR #4211) preserves the timer ID via memcpy before invoking the callback, then performs a raxFind check to confirm the timer is still live in the tree before attempting cleanup, eliminating the double-free path.

Know when Valkey gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 2.2 LOW

Requires high-privilege module control and a specific self-stopping timer pattern (AC:H); no confidentiality or integrity impact, only a potential crash (A:L).

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVE Published
Aug 31, 2026 - 10:50 cve.org
LOW 1.9
Severity Changed
Aug 31, 2026 - 10:22 NVD
MEDIUM LOW
CVSS changed
Aug 31, 2026 - 10:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was determined in valkey-io valkey 9.1.0. Impacted is the function moduleTimerHandler of the file src/module.c of the component Module Timer Subsystem. This manipulation causes double free. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. Patch name: b349fe2821e3998534b1454c1b64a478daf8c6b7. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
emerging Redis fork, not yet widely deployed at scale
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy