Every CVE Search/ Get API key

CVE-2015-8080

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x...

7.5 HighFix available

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

4.61%Up 3.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
CVE-2015-8080
Updated
2026-11-02
EUVDEUVD-2015-7973 No score

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
EUVD-2015-7973
Updated
2026-11-03
GitHub AdvisoriesGHSA-4r9x-2fwv-q8g6 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x...

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
GHSA-4r9x-2fwv-q8g6
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2015-8080 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
ALPINE-CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2015-8080 7.5

CVE-2015-8080 does not affect BellSoft software

Record
BELL-CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSV 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2015-8080 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
DEBIAN-CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2015-8080 7.5

Integer overflow in the getnum function in lua_struct.c in Redis 2.8.x before 2.8.24 and 3.0.x before 3.0.6 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow.

Record
UBUNTU-CVE-2015-8080
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2015-0472 No score

Updated redis packages fix CVE-2015-8080

Luca Bruno discovered an integer overflow flaw leading to a stack-based buffer overflow in redis, a persistent key-value database. A remote attacker can use this flaw to cause a denial of service (application crash) (CVE-2015-8080).

Record
MGASA-2015-0472
Updated
2026-11-02
OSVopenSUSE-SU-2024:11299-1 No score

redis-6.2.5-1.2 on GA media

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

Record
openSUSE-SU-2024:11299-1
Updated
2026-11-02
OSVSUSE-OU-2020:3291-1 No score

Optional update for python-redis and redis

This optional update for python-redis and redis provides the following fixes

python-redis:

  • Update to version to 3.4.1 (jsc#ECO-2417)

    • Move the username argument in the Redis and Connection classes to the end of the argument list. This helps those poor souls that specify all their connection options as non-keyword arguments.
    • Prior to ACL support, redis-py ignored the username component of Connection URLs. With ACL support, usernames are no longer ignored and are used to authenticate against an ACL rule. Some cloud vendors with managed Redis instances (like Heroku) provide connection URLs with a username component pre-ACL that is not intended to be used. Sending that username to Redis servers < 6.0.0 results in an error. Attempt to detect this condition and retry the AUTH command with only the password such that authentication continues to work for these users.
    • Removed the eq hooks to Redis and ConnectionPool that were added in 3.4.0. This ended up being a bad idea as two separate connection pools be considered equal yet manage a completely separate set of connections.
    • Allow empty pipelines to be executed if there are WATCHed keys. This is a convenient way to test if any of the watched keys changed without actually running any other commands.
    • Removed support for end of life Python 3.4.
    • Added support for all ACL commands in Redis 6.
    • Pipeline instances now always evaluate to True. Prior to this change, pipeline instances relied on len for boolean evaluation which meant that pipelines with no commands on the stack would be considered False.
    • Client instances and Connection pools now support a 'client_name' argument. If supplied, all connections created will call CLIENT SETNAME as soon as the connection is opened.
    • Added the 'ssl_check_hostname' argument to specify whether SSL connections should require the server hostname to match the hostname specified in the SSL cert. By default 'ssl_check_hostname' is False for backwards compatibility.
    • Added support for the TYPE argument to SCAN.
    • Better thread and fork safety in ConnectionPool and BlockingConnectionPool. Added better locking to synchronize critical sections rather than relying on CPython-specific implementation details relating to atomic operations. Adjusted how the pools identify and deal with a fork. Added a ChildDeadlockedError exception that is raised by child processes in the very unlikely chance that a deadlock is encountered.
    • Further fix for the SSLError -> TimeoutError mapping to work on obscure releases of Python 2.7.
    • Fixed a potential error handling bug for the SSLError -> TimeoutError mapping introduced in 3.3.9.
    • Mapped Python 2.7 SSLError to TimeoutError where appropriate. Timeouts should now consistently raise TimeoutErrors on Python 2.7 for both unsecured and secured connections.
    • Fixed MONITOR parsing to properly parse IPv6 client addresses
    • Fixed a regression introduced in 3.3.0
    • Resolve a race condition with the PubSubWorkerThread.
    • Response callbacks are now case insensitive.
    • Added support for hiredis-py 1.0.0 encoding error support.
    • Add READONLY and READWRITE commands.
    • Added extensive health checks that keep the connections lively.
    • Many more changes, see upstream changelog.
    • Add missing build dependency setuptools
    • Fix SentinelConnectionPool to work in multiprocess/forked environments
  • Update to 3.2.0 (bsc#1131555)

    • Added support for select.poll to test whether data can be read on a socket. This should allow for significantly more connections to be used with pubsub.
    • Attempt to guarentee that the ConnectionPool hands out healthy connections. Healthy connections are those that have an established socket connection to the Redis server, are ready to accept a command and have no data available to read.
    • Use the socket.IPPROTO_TCP…
Record
SUSE-OU-2020:3291-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redis
Alpine:v3.10
2.8.0 up to 5.0.5-r1
5.0.5-r1
redis
Alpine:v3.11
2.8.0 up to 5.0.7-r1
5.0.7-r1
redis
Alpine:v3.12
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.13
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.14
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.15
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.16
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.17
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.18
2.8.0 up to 5.0.8-r0
5.0.8-r0
redis
Alpine:v3.19
2.8.0 up to 5.0.8-r0
5.0.8-r0
Show 14 moreShow less
Affected packages
PackageAffectedFixed
redis
Debian:12
before 2:3.0.5-4
2:3.0.5-4
redis
Debian:13
before 2:3.0.5-4
2:3.0.5-4
redis
Debian:14
before 2:3.0.5-4
2:3.0.5-4
redis
Debian:8
before 2:2.8.17-1+deb8u3, plus listed versions
2:2.8.17-12:2.8.17-1+deb8u12:2.8.17-1+deb8u2
2:2.8.17-1+deb8u3
redis
Mageia:5
before 2.8.13-4.1.mga5
2.8.13-4.1.mga5
redis
Red Hat:openstack:6::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis-debuginfo
Red Hat:openstack:6::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis
Red Hat:openstack:7::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis-debuginfo
Red Hat:openstack:7::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis
Red Hat:openstack-optools:7::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis-debuginfo
Red Hat:openstack-optools:7::el7
before 0:2.8.24-1.el7ost
0:2.8.24-1.el7ost
redis
SUSE:Linux Enterprise Module for Server Applications 15 SP2
From an advisory covering 7 CVEs
before 6.0.8-1.3.1
6.0.8-1.3.1
redis
Ubuntu:14.04:LTS
before 2:2.8.4-2ubuntu0.2, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2
2:2.8.4-2ubuntu0.2
redis
openSUSE:Tumbleweed
From an advisory covering 9 CVEs
before 6.2.5-1.2
6.2.5-1.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2015-8080 is a high vulnerability (CVSS 7.5) in Redislabs Redis, published December 3, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.61%, the 91st percentile. Fixed in redis 5.0.5-r1.

References

Show 46 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open