# CVE-2020-14147: An integer overflow in the getnum function in luastruct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run L…

- Severity: High 7.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.08%, higher than 88% of CVEs (2026-12-01)
- Published: 2020-06-15T16:52:45.000Z
- Modified: 2026-06-17T02:54:17.520Z
- Weaknesses: CWE-190, CWE-787
- Assigned by: mitre

## Description

An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 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. NOTE: this issue exists because of a CVE-2015-8080 regression.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- redislabs redis: before 5.0.9; from 6.0.0 before 6.0.3
- oracle communications_operations_monitor: 3.4; 4.1; 4.2; 4.3
- suse linux_enterprise: 12.0
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/antirez/redis/pull/6875> (patch, third-party-advisory)
- <https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571> (patch, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4731> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00058.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202008-17> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-14147](https://www.cve.org/CVERecord?id=CVE-2020-14147), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-14147](https://nvd.nist.gov/vuln/detail/CVE-2020-14147), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-14147 · Whole record: https://cve.day/CVE-2020-14147.json · Rebuilt by cve.day 2026-11-25T22:57:52.967Z
