Critical Integer Overflow Vulnerability in Redis Package

redis Updated 02 Oct 2025

Summary

17/06/2018
N/A
Yes i
Critical
9.8

ALPINE-CVE-2018-11219: An Integer Overflow issue was discovered in the struct library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2, leading to a failure of bounds checking. Affects redis versions < 3.2.12-r0. Fixed in 3.2.12-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Redis is an open-source, in-memory data structure store, used as a database, cache, and message broker. It supports various data structures such as strings, hashes, lists, sets, and more. Redis is known for its performance, flexibility, and ease of use. However, it has been found to be vulnerable to an integer overflow issue in its Lua subsystem, which can lead to severe security implications if not addressed.

Vulnerability Detail

An Integer Overflow issue was discovered in the struct library in the Lua subsystem of Redis prior to versions 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2. This vulnerability can lead to a failure of bounds checking, potentially allowing an attacker to exploit the flaw and execute arbitrary code, resulting in data corruption or unauthorized access to sensitive information.

How To Fix

Minimum fixed version

3.2.12-r0

This is the first release that contains the fix.

sudo apk add --upgrade redis

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the Redis server by configuring firewall rules to limit connections to trusted IP addresses only. Additionally, consider disabling Lua scripting if it is not required for your application.

Conclusion

The Integer Overflow vulnerability in Redis poses significant risks to applications using affected versions. It is crucial to update to the patched versions to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for redis →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

Exploitation of this vulnerability could lead to arbitrary code execution, data corruption, or unauthorized access to sensitive information.

Yes, versions 3.2.12 and 4.0.10 or later are considered safe as they contain the necessary patches to address this vulnerability.

If immediate updates are not possible, implement firewall rules to restrict access and consider disabling Lua scripting as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for redis.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.2.12-r0

This is the first release that contains the fix.

sudo apk add --upgrade redis

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback