Every CVE Search/ Get API key

CVE-2023-41056

Redis vulnerable to integer overflow in certain payloads

8.1 HighFix available

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.56%Up 2.4 points since Jan 17, 2024
90%50%10%1%

What each source reports

CVE List Score used 8.1

Redis vulnerable to integer overflow in certain payloads

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-762, CWE-190
Updated
2026-11-02
EUVDEUVD-2023-45579 8.1

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
EUVD-2023-45579
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
NVD 8.1

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190, CWE-762
Updated
2026-11-02
OSVALPINE-CVE-2023-41056 8.1

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
ALPINE-CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVBELL-CVE-2023-41056 8.1
Record
BELL-CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 8.1

Redis vulnerable to integer overflow in certain payloads

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190, CWE-762
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2023-41056 8.1

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
DEBIAN-CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHEA-2024:1143 8.1

Red Hat Enhancement Advisory: redis:7 update

Record
RHEA-2024:1143
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-41056 8.1

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
UBUNTU-CVE-2023-41056
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-keydb-2023-41056 No score

Redis vulnerable to integer overflow in certain payloads

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
BIT-keydb-2023-41056
Updated
2026-11-02
OSVBIT-redis-2023-41056 No score

Redis vulnerable to integer overflow in certain payloads

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
BIT-redis-2023-41056
Updated
2026-11-02
OSVBIT-valkey-2023-41056 No score

Redis vulnerable to integer overflow in certain payloads

Redis is an in-memory database that persists on disk. Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution. This issue has been patched in version 7.0.15 and 7.2.4.

Record
BIT-valkey-2023-41056
Updated
2026-11-02
OSVCLSA-2026-1775836571 No score

redis: Fix of CVE-2023-41056

  • CVE-2023-41056: fix possible corruption in sdsResize
Record
CLSA-2026-1775836571
Updated
2026-11-02
OSVCLSA-2026-1776078299 No score

redis: Fix of CVE-2023-41056

  • CVE-2023-41056: fix possible corruption in sdsResize due to incorrect alloc_already_optimal logic skipping sds type header update
Record
CLSA-2026-1776078299
Updated
2026-11-02
OSVMGASA-2025-0211 No score

Updated redis packages fix security vulnerabilities

Updated redis packages to a more recent version to fix security vulnerabilities: Some vulnerabilities have been discovered and fixed. Please note this update is from 7.0 to 7.2 which brings some potentially breaking changes. In most cases this update could be installed without problems. Potentially Breaking / Behavior Changes:

  • Client side tracking for scripts now tracks the keys that are read by the script instead of the keys that are declared by the caller of EVAL / FCALL (#11770)
  • Freeze time sampling during command execution and in scripts (#10300)
  • When a blocked command is being unblocked, checks like ACL, OOM, etc are re-evaluated (#11012)
  • Unify ACL failure error message text and error codes (#11160)
  • Blocked stream command that's released when key no longer exists carries a different error code (#11012)
  • Command stats are updated for blocked commands only when / if the command actually executes (#11012)
  • The way ACL users are stored internally no longer removes redundant command and category rules, which may alter the way those rules are displayed as part of ACL SAVE, ACL GETUSER and ACL LIST (#11224)
  • Client connections created for TLS-based replication use SNI if possible (#11458)
  • Stream consumers: Re-purpose seen-time, add active-time (#11099)
  • XREADGROUP and X[AUTO]CLAIM create the consumer regardless of whether it was able to perform some reading/claiming (#11099)
  • ACL default newly created user set sanitize-payload flag in ACL LIST/GETUSER #11279
  • Fix HELLO command not to affect the client state unless successful (#11659)
  • Normalize NAN in replies to a single nan type, like we do with inf (#11597)
  • Cluster SHARD IDs are no longer visible in the cluster nodes output, introduced in 7.2-RC1. (#10536, #12166)
  • When calling PUBLISH with a RESP3 client that's also subscribed to the same channel, the order is changed and the reply is sent before the published message (#12326)
Record
MGASA-2025-0211
Updated
2026-11-02
OSVopenSUSE-SU-2024:13572-1 No score

redis-7.2.4-1.1 on GA media

These are all security issues fixed in the redis-7.2.4-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13572-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redis
Alpine:v3.16
7.0.9 up to 7.0.15-r0
7.0.15-r0
redis
Alpine:v3.17
7.0.9 up to 7.0.15-r0
7.0.15-r0
redis
Alpine:v3.18
7.0.9 up to 7.0.15-r0
7.0.15-r0
redis
Alpine:v3.19
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpine:v3.20
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpine:v3.21
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpine:v3.22
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpine:v3.23
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpine:v3.24
7.0.9 up to 7.2.4-r0
7.2.4-r0
redis
Alpaquita:23
7.0.9-r0 up to 7.0.15-r0
7.0.15-r0
Show 21 moreShow less
Affected packages
PackageAffectedFixed
redis
Alpaquita:stream
7.0.9-r0 up to 7.2.4-r0
7.2.4-r0
keydb
Bitnami
7.0.9 up to 7.0.15, 7.2.0 up to 7.2.4
7.0.157.2.4
redis
Bitnami
7.0.9 up to 7.0.15, 7.2.0 up to 7.2.4
7.0.157.2.4
valkey
Bitnami
7.0.9 up to 7.0.15, 7.2.0 up to 7.2.4
7.0.157.2.4
redis
TuxCare:AlmaLinux:9.6
before 6.2.20-1.el9_6.tuxcare.els1
6.2.20-1.el9_6.tuxcare.els1
redis-devel
TuxCare:AlmaLinux:9.6
before 6.2.20-1.el9_6.tuxcare.els1
6.2.20-1.el9_6.tuxcare.els1
redis-doc
TuxCare:AlmaLinux:9.6
before 6.2.20-1.el9_6.tuxcare.els1
6.2.20-1.el9_6.tuxcare.els1
redis
TuxCare:AlmaLinux:9.2
before 6.2.21-1.el9_2.tuxcare.els2
6.2.21-1.el9_2.tuxcare.els2
redis-devel
TuxCare:AlmaLinux:9.2
before 6.2.21-1.el9_2.tuxcare.els2
6.2.21-1.el9_2.tuxcare.els2
redis-doc
TuxCare:AlmaLinux:9.2
before 6.2.21-1.el9_2.tuxcare.els2
6.2.21-1.el9_2.tuxcare.els2
redis
Debian:12
before 5:7.0.15-1~deb12u1, plus listed versions
5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2
5:7.0.15-1~deb12u1
redis
Debian:13
before 5:7.0.15-1
5:7.0.15-1
redis
Debian:14
before 5:7.0.15-1
5:7.0.15-1
redis
Debian:12
From an advisory covering 5 CVEs
before 5:7.0.15-1~deb12u1, plus listed versions
5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2
5:7.0.15-1~deb12u1
redis
Mageia:9
From an advisory covering 4 CVEs
before 7.2.10-1.mga9
7.2.10-1.mga9
redis
Red Hat:enterprise_linux:9::appstream
before 0:7.0.12-2.module+el9.3.0+21263+4e58afe8
0:7.0.12-2.module+el9.3.0+21263+4e58afe8
redis-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:7.0.12-2.module+el9.3.0+21263+4e58afe8
0:7.0.12-2.module+el9.3.0+21263+4e58afe8
redis-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:7.0.12-2.module+el9.3.0+21263+4e58afe8
0:7.0.12-2.module+el9.3.0+21263+4e58afe8
redis-devel
Red Hat:enterprise_linux:9::appstream
before 0:7.0.12-2.module+el9.3.0+21263+4e58afe8
0:7.0.12-2.module+el9.3.0+21263+4e58afe8
redis-doc
Red Hat:enterprise_linux:9::appstream
before 0:7.0.12-2.module+el9.3.0+21263+4e58afe8
0:7.0.12-2.module+el9.3.0+21263+4e58afe8
redis
openSUSE:Tumbleweed
before 7.2.4-1.1
7.2.4-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
affected
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-41056 is a high vulnerability (CVSS 8.1) in Redis, published January 10, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.56%, the 85th percentile. Fixed in redis 7.0.15-r0.

References

Show 19 moreShow less
MoveEnter Open