valkey — security advisory
A security flaw has been discovered in valkey-io valkey 9.1.0. The affected element is the function handleClientsBlockedOnKey of the file src/blocked.c of the component Blocked-on-keys Subsystem. The manipulation results in use after free. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b. Applying a patch is advised to resolve this issue.
- Products
- valkey
- Affected versions
- 7.2.10+dfsg1-0ubuntu0.1, 7.2.11+dfsg1-0ubuntu0.1, 7.2.11+dfsg1-0ubuntu0.2, 7.2.12+dfsg1-0ubuntu0.1, 7.2.13+dfsg1-0ubuntu0.1, 7.2.13+dfsg1-0ubuntu0.1+esm1, 7.2.5+dfsg1-2ubuntu4~24.04.1, 7.2.7+dfsg1-0ubuntu0.24.04.1, 7.2.8+dfsg1-0ubuntu0.24.04.1, 7.2.8+dfsg1-0ubuntu0.24.04.2, 7.2.8+dfsg1-0ubuntu0.24.04.3, 8.1.3+dfsg1-0ubuntu2, 8.1.4+dfsg1-0ubuntu1, 9.0.2-0ubuntu1, 9.0.3-0ubuntu1, 9.0.3-0ubuntu2, 9.0.4-0ubuntu0.1, 9.0.4-0ubuntu0.2, 9.0.4-0ubuntu1, 9.1.1-0ubuntu2, 9.1.2-0ubuntu1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82631
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:20 UTC · Revision 1
Source evidence
A security flaw has been discovered in valkey-io valkey 9.1.0. The affected element is the function handleClientsBlockedOnKey of the file src/blocked.c of the component Blocked-on-keys Subsystem. The manipulation results in use after free. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b. Applying a patch is advised to resolve this issue.
osv:UBUNTU-CVE-2026-82631
valkey
Fixed versions: Not specified
valkey
Fixed versions: Not specified
valkey
Fixed versions: Not specified
Complete source record
{
"id": "b7812f7572b158ff828954f61294e0270524c3acf109ad06be3d088347d8358a",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-82631",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-82631",
"summary": "A security flaw has been discovered in valkey-io valkey 9.1.0. The affected element is the function handleClientsBlockedOnKey of the file src/blocked.c of the component Blocked-on-keys Subsystem. The manipulation results in use after free. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b. Applying a patch is advised to resolve this issue.",
"evidence": "osv:UBUNTU-CVE-2026-82631",
"products": [
{
"name": {
"value": "valkey",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.2.5+dfsg1-2ubuntu4~24.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.7+dfsg1-0ubuntu0.24.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.8+dfsg1-0ubuntu0.24.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.8+dfsg1-0ubuntu0.24.04.2",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.8+dfsg1-0ubuntu0.24.04.3",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.10+dfsg1-0ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.11+dfsg1-0ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.11+dfsg1-0ubuntu0.2",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.12+dfsg1-0ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.13+dfsg1-0ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "7.2.13+dfsg1-0ubuntu0.1+esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "valkey",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.0.3-0ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "9.0.4-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "9.1.1-0ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "9.1.2-0ubuntu1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "valkey",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.1.3+dfsg1-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "8.1.4+dfsg1-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.2-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.3-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.3-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.4-0ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.4-0ubuntu0.2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2026-82631",
"aliases": [
"UBUNTU-CVE-2026-82631"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "valkey",
"purl": "pkg:deb/ubuntu/valkey?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"7.2.5+dfsg1-2ubuntu4~24.04.1",
"7.2.7+dfsg1-0ubuntu0.24.04.1",
"7.2.8+dfsg1-0ubuntu0.24.04.1",
"7.2.8+dfsg1-0ubuntu0.24.04.2",
"7.2.8+dfsg1-0ubuntu0.24.04.3",
"7.2.10+dfsg1-0ubuntu0.1",
"7.2.11+dfsg1-0ubuntu0.1",
"7.2.11+dfsg1-0ubuntu0.2",
"7.2.12+dfsg1-0ubuntu0.1",
"7.2.13+dfsg1-0ubuntu0.1",
"7.2.13+dfsg1-0ubuntu0.1+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82631.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "valkey-redis-compat",
"binary_version": "7.2.13+dfsg1-0ubuntu0.1+esm1"
},
{
"binary_name": "valkey-sentinel",
"binary_version": "7.2.13+dfsg1-0ubuntu0.1+esm1"
},
{
"binary_name": "valkey-server",
"binary_version": "7.2.13+dfsg1-0ubuntu0.1+esm1"
},
{
"binary_name": "valkey-tools",
"binary_version": "7.2.13+dfsg1-0ubuntu0.1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "valkey",
"purl": "pkg:deb/ubuntu/valkey?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.0.3-0ubuntu2",
"9.0.4-0ubuntu1",
"9.1.1-0ubuntu2",
"9.1.2-0ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82631.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "valkey-sentinel",
"binary_version": "9.1.2-0ubuntu1"
},
{
"binary_name": "valkey-server",
"binary_version": "9.1.2-0ubuntu1"
},
{
"binary_name": "valkey-tools",
"binary_version": "9.1.2-0ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "valkey",
"purl": "pkg:deb/ubuntu/valkey?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"8.1.3+dfsg1-0ubuntu2",
"8.1.4+dfsg1-0ubuntu1",
"9.0.2-0ubuntu1",
"9.0.3-0ubuntu1",
"9.0.3-0ubuntu2",
"9.0.4-0ubuntu0.1",
"9.0.4-0ubuntu0.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82631.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "valkey-sentinel",
"binary_version": "9.0.4-0ubuntu0.2"
},
{
"binary_name": "valkey-server",
"binary_version": "9.0.4-0ubuntu0.2"
},
{
"binary_name": "valkey-tools",
"binary_version": "9.0.4-0ubuntu0.2"
}
]
}
}
],
"modified": "2026-10-17T13:01:11.355021034Z",
"provider": "osv",
"upstream": [
"CVE-2026-82631"
],
"references": [
"https://ubuntu.com/security/CVE-2026-82631",
"https://www.cve.org/CVERecord?id=CVE-2026-82631",
"https://github.com/user-attachments/files/30111628/PoC.zip",
"https://github.com/valkey-io/valkey/",
"https://github.com/valkey-io/valkey/commit/b2fb0e13f5b4c8c2fb63dcfc2c37a067a0d6d20b",
"https://github.com/valkey-io/valkey/issues/4198",
"https://github.com/valkey-io/valkey/pull/4212",
"https://vuldb.com/cve/CVE-2026-82631",
"https://vuldb.com/submit/893793",
"https://vuldb.com/vuln/397129",
"https://vuldb.com/vuln/397129/cti"
]
},
"related_cves": [
{
"value": "CVE-2026-82631",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361178,
"published_at": "2026-08-31T08:17:00+00:00"
}