Vulnerabilities / CVE-2018-11218

critical

CVE-2018-11218

redis: Heap corruption in lua_cmsgpack.c

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 because of stack-based buffer overflows.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0redis4.0.10-1.ph1
Photon OS 2.0redis4.0.10-1.ph2
alpine 3.5redis3.2.12-r0
alpine 3.6redis3.2.12-r0
alpine 3.7redis4.0.10-r0
debian 11redis5:4.0.10-1
debian 12redis5:4.0.10-1
debian 13redis5:4.0.10-1
debian 14redis5:4.0.10-1
debian 8redis2:2.8.17-1+deb8u6
debian 9redis3:3.2.6-3+deb9u1
echoredis5:4.0.10-1
Show all 19 entries from 19 sources
SourcePackageFixed in
Photon OS 1.0redis4.0.10-1.ph1
Photon OS 2.0redis4.0.10-1.ph2
alpine 3.5redis3.2.12-r0
alpine 3.6redis3.2.12-r0
alpine 3.7redis4.0.10-r0
debian 11redis5:4.0.10-1
debian 12redis5:4.0.10-1
debian 13redis5:4.0.10-1
debian 14redis5:4.0.10-1
debian 8redis2:2.8.17-1+deb8u6
debian 9redis3:3.2.6-3+deb9u1
echoredis5:4.0.10-1
Red Hatredisno fix listed
ubuntu 14.04redis2:2.8.4-2ubuntu0.2
ubuntu 14.04-ESMredis2:2.8.4-2ubuntu0.2
ubuntu 16.04redis2:3.0.6-1ubuntu0.2
ubuntu 16.04-ESMredis2:3.0.6-1ubuntu0.2
ubuntu 18.04redis5:4.0.9-1ubuntu0.1
ubuntu 18.04-ESMredis5:4.0.9-1ubuntu0.1

References

All 16 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.