CVE-2021-32761
Integer overflow issues with *BIT commands on 32-bit systems
Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration parameter to a very large value and constructing specially crafted commands bit commands. This problem only affects Redis on 32-bit platforms, or compiled as a 32-bit binary. Redis versions 5.0.`3m 6.0.15, and 6.2.5 contain patches for this issue. 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 30.103% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:00:33.106Z
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:03:43.150Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:00:33.106Z | CVE Program |
| epss | verified | 2026-11-19T16:04:30.739Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:03:43.150Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:00:33.106Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:00:33.106Z | CVE Program |
Affected versions and configuration
redis redis; default status: unknown: >= 2.2, < 5.0.13 [affected; scheme: unspecified]; >= 6.0.0, < 6.0.15 [affected; scheme: unspecified]; >= 6.2.0, < 6.2.5 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "redis",
"debian": "https://tracker.debian.org/pkg/redis",
"source": "https://ubuntu.com/security/cve?package=redis",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=redis",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:6.0.15-1",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:6.0.15-1",
"release_codename": "kinetic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5:6.0.15-1",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5:6.0.15-1",
"release_codename": "upstream"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "2:3.0.6-1ubuntu0.4+esm1",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5:6.0.15-1",
"release_codename": "impish"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no 32-bit version",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "groovy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "no 32-bit version",
"release_codename": "hirsute"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "2:2.8.4-2ubuntu0.2+esm2",
"release_codename": "trusty"
},
{
"pocket": "esm-apps",
"status": "released",
"component": null,
"description": "5:4.0.9-1ubuntu0.2+esm3",
"release_codename": "bionic"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2021-32761",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:6.0.15-1"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32761.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2021-32761"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2021-32761",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2021-32761",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:6.0.15-1"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32761.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [
"CVE-2021-32761"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2021-32761",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "redis",
"product": "redis",
"versions": [
{
"status": "affected",
"version": ">= 2.2, < 5.0.13"
},
{
"status": "affected",
"version": ">= 6.0.0, < 6.0.15"
},
{
"status": "affected",
"version": ">= 6.2.0, < 6.2.5"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/redis/redis/security/advisories/GHSA-8wxq-j7rp-g8wj",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/07/msg00017.html",
"name": "[debian-lts-announce] 20210722 [SECURITY] [DLA 2717-1] redis security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VGX7RRAWGXWXEAKJTQYSDSBO2BC3SAHD/",
"name": "FEDORA-2021-10d54c261f",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6O7AUOROBYGP5IMGJPC5HZ3R2RB6GZ5X/",
"name": "FEDORA-2021-76cf1653b3",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20210827-0004/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/08/msg00026.html",
"name": "[debian-lts-announce] 20210827 [SECURITY] [DLA 2717-2] redis security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2021/dsa-5001",
"name": "DSA-5001",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202209-17",
"name": "GLSA-202209-17",
"tags": [
"vendor-advisory",
"x_refsource_GENTOO",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T23:33:55.821Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-note | upstream / upstream | redis | Not a distribution channel | 5:6.0.15-1 | Official record |
| distribution-package | Ubuntu / xenial | redis | esm-apps | 2:3.0.6-1ubuntu0.4+esm1 | Official record |
| distribution-package | Ubuntu / impish | redis | security | 5:6.0.15-1 | Official record |
| distribution-package | Ubuntu / trusty | redis | esm-infra | 2:2.8.4-2ubuntu0.2+esm2 | Official record |
| distribution-package | Ubuntu / bionic | redis | esm-apps | 5:4.0.9-1ubuntu0.2+esm3 | Official record |
| ecosystem-boundary | Debian:13 / 13 | redis | unknown | 5:6.0.15-1 | Official record |
| ecosystem-boundary | Debian:12 / 12 | redis | unknown | 5:6.0.15-1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:00:33.106ZArchived source JSON
Source publication: 2021-07-21T20:50:09.000Z
Source modification: 2024-08-03T23:33:55.821ZDocument fingerprint
fc665b3078b3988f551c7b9b99af05304d88979ac960347da7343b765d176bc6 - OSVConsulted: 2026-11-19T12:52:05.332ZArchived source JSON
Source publication: 2021-07-21T21:15:07.670Z
Source modification: 2026-10-23T18:03:03.127ZDocument fingerprint
94bfb02156fcf158d97f00f60abbf710659689ea962e2bdc1019f072ab73cda7 - OSVConsulted: 2026-11-19T12:52:08.385ZArchived source JSON
Source publication: 2021-07-21T21:15:07.670Z
Source modification: 2026-10-23T18:03:03.127ZDocument fingerprint
c52aa2bc34487b9fc6701e2c856a07c837a7f028f5e2e61174c91381b6a172ab - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T16:03:43.150ZArchived source JSON
Source publication: 2021-07-21T21:15:00.000Z
Source modification: 2025-08-25T23:37:04.983ZDocument fingerprint
ae3c2263d2b0476066bdbf2fc53f17af401f8073a2d1ea70542d9c2d461318c9 - FIRST EPSSConsulted: 2026-11-19T16:04:30.739ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
8b22e3d0bbbe22a3c52f8c688c42204480fc90c949431dad186ebe9ca81245a8
Official status history
- UNKNOWN → PUBLISHED · · evidence