Low
Security advisory
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-49112
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:13 UTC · Revision 1
Source evidence
setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
osv:CVE-2025-49112
Complete source record
{
"id": "17f6a9a8160ff41e406b878e984c6e49eac8a3c0656e1045e34495234e4a36a5",
"url": "https://osv.dev/vulnerability/CVE-2025-49112",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-49112",
"summary": "setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.",
"evidence": "osv:CVE-2025-49112",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2025-49112",
"aliases": [
"BIT-keydb-2025-49112",
"BIT-redis-2025-49112",
"BIT-valkey-2025-49112",
"CVE-2025-49112"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/valkey-io/valkey",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "fcd8bc3ee40f5d7841b7d5a8f3cd12252fec14e4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "8.1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "8.1.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"8.1.1",
"8.1.0",
"8.1.0-rc2",
"8.1.0-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49112.json"
}
}
],
"modified": "2026-10-28T02:30:53.105324437Z",
"provider": "osv",
"references": [
"https://github.com/redis/redis/blob/994bc96bb1744cb153392fc96bdba43eae56e17f/src/networking.c#L783",
"https://github.com/valkey-io/valkey/blob/daea05b1e26db29bfd1c033e27f9d519a2f8ccbb/src/networking.c#L886",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49112.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-49112",
"https://github.com/valkey-io/valkey/pull/2101"
],
"provider_metadata": {
"cwe_ids": [
"CWE-191"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49112.json"
}
},
"related_cves": [
{
"value": "CVE-2025-49112",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521682,
"published_at": "2025-06-02T00:00:00+00:00"
}