Security advisory
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41099
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:29 UTC · Revision 1
Source evidence
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
osv:CVE-2021-41099
Complete source record
{
"id": "a5cf1b44d14a91ec49bd180894e37f16065f2be2db0c60b578d210cf6cf9c292",
"url": "https://osv.dev/vulnerability/CVE-2021-41099",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41099",
"summary": "Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.",
"evidence": "osv:CVE-2021-41099",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-41099",
"aliases": [
"BIT-keydb-2021-41099",
"BIT-redis-2021-41099",
"BIT-valkey-2021-41099",
"CVE-2021-41099",
"GHSA-j3cr-9h5g-6cph"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/redis/redis",
"type": "GIT",
"events": [
{
"introduced": "882ca6962f4ca32683b0e8db831de1b425c27d3c"
},
{
"fixed": "704ba5f5b22ae1ecafbcfb7a3258311c27ff94ff"
},
{
"introduced": "17dfd7cabbf7954f92b7a1243d4bb27fee5d4500"
},
{
"fixed": "5895d119b1c2825ff0394f30e246e036c3972bc5"
},
{
"introduced": "445aa844b946a8f1bc21ac8554b44adb1ecb4018"
},
{
"fixed": "4930d19e70c391750479951022e207e19111eb55"
},
{
"fixed": "c6ad876774f3cc11e32681ea02a2eead00f2c521"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c6ad876774f3cc11e32681ea02a2eead00f2c521"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"6.2.5",
"6.0.15",
"5.0.13",
"5.0.12",
"6.0.14",
"6.2.4",
"6.2.3",
"6.0.13",
"6.2.2",
"6.0.12",
"6.2.1",
"6.2.0",
"6.0.11",
"5.0.11",
"5.0.10",
"6.0.10",
"6.0.9",
"6.0.8",
"6.0.7",
"6.0.6",
"6.0.5",
"6.0.4",
"6.0.3",
"6.0.2",
"6.0.1",
"6.0.0",
"5.0.9",
"5.0.8",
"5.0.7",
"5.0.6",
"5.0.5",
"5.0.4",
"5.0.3",
"5.0.2",
"5.0.1",
"5.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41099.json",
"vanir_signatures": [
{
"id": "CVE-2021-41099-2f2cc239",
"digest": {
"length": 942,
"function_hash": "263861364008006447214780027011360238435"
},
"source": "https://github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521",
"target": {
"file": "src/sds.c",
"function": "sdsMakeRoomFor"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-41099-e5ae2ecc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"31536250721424773439476737733983893446",
"31197297887750876145814346369914935386",
"39782041488683852462795552339368336124",
"255983622827330638827926300774193340040",
"309820509046219063941975706467352758695",
"286030179085042204311616100187563677535",
"193805607634471009234474877719107780862",
"279261928145133411651342465917023710",
"6004469484989770357786140015489948933",
"203936674237281946377878053125284052193",
"211058563121424472077369282767486457083",
"277457461090499370348233262450936527982"
]
},
"source": "https://github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521",
"target": {
"file": "src/sds.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:54:31Z"
}
}
],
"modified": "2026-10-24T14:54:31.146487343Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/",
"https://github.com/redis/redis/security/advisories/GHSA-j3cr-9h5g-6cph",
"https://security.gentoo.org/glsa/202209-17",
"https://security.netapp.com/advisory/ntap-20211104-0003/",
"https://www.debian.org/security/2021/dsa-5001",
"https://github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521",
"https://www.oracle.com/security-alerts/cpuapr2022.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_operations_monitor",
"extracted_events": [
{
"range": [
{
"introduced": "4.3"
},
{
"last_affected": "4.3"
},
{
"introduced": "4.4"
},
{
"last_affected": "4.4"
},
{
"introduced": "5.0"
},
{
"last_affected": "5.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-41099",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443869,
"published_at": "2021-10-04T18:15:09.493+00:00"
}