CVE-2018-12326: Buffer Overflow

Published Jun 17, 2018
·
Updated

A flaw was found in Redis before 4.0.10 and 5.x before 5.0 RC2. A buffer overflow in redis-cli allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line.

References: https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0 https://www.exploit-db.com/exploits/44904/

Patch: https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50

Other sources

Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.

MITRE

Affected Software

6 affected componentsFixes available
redhat/redis<5.0
5.0
redhat/redis<4.0.10
4.0.10
redhat/redis<3.2.12
3.2.12
Redislabs Redis<4.0.10
Redislabs Redis=5.0-rc1
Redislabs Redis=5.0-rc2

Event History

Jun 17, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2018-12326.

2

What is the severity of CVE-2018-12326?

The severity of CVE-2018-12326 is high with a CVSS score of 8.4.

3

Which software versions are affected by CVE-2018-12326?

CVE-2018-12326 affects Redis versions before 4.0.10 and 5.x before 5.0 RC3.

4

How can an attacker exploit CVE-2018-12326?

An attacker can exploit CVE-2018-12326 by using a crafted command line in the redis-cli tool, allowing code execution and privilege escalation.

5

Where can I find more information about CVE-2018-12326?

More information about CVE-2018-12326 can be found at the following references: [Reference 1](https://access.redhat.com/errata/RHSA-2019:0052), [Reference 2](https://access.redhat.com/errata/RHSA-2019:0094), [Reference 3](https://access.redhat.com/errata/RHSA-2019:1860).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203