CVE-2020-6096
An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc 2.30.9000. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a signed comparison vulnerability. If an attacker underflows the 'num' parameter to memcpy(), this vulnerability could lead to undefined behavior such as writing to out-of-bounds memory and potentially remote code execution. Furthermore, this memcpy() implementation allows for program execution to continue in scenarios where a segmentation fault or crash should have occurred. The dangers occur in that subsequent execution and iterations of this code will be executed with this corrupted data.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | glibc | Fixed | 2.31-0ubuntu9.7 | UBUNTU-CVE-2020-6096 |
| Ubuntu 18.04 | glibc | Fixed | 2.27-3ubuntu1.5 | UBUNTU-CVE-2020-6096 |
| Ubuntu 16.04 | glibc | Fixed | 2.23-0ubuntu11.3 | UBUNTU-CVE-2020-6096 |
| Ubuntu 14.04 | eglibc | Fix pending | UBUNTU-CVE-2020-6096 | |
| Debian 14 | glibc | Fixed | 2.31-2 | DEBIAN-CVE-2020-6096 |
| Debian 13 | glibc | Fixed | 2.31-2 | DEBIAN-CVE-2020-6096 |
| Debian 12 | glibc | Fixed | 2.31-2 | DEBIAN-CVE-2020-6096 |
| Red Hat Enterprise Linux 8 | compat-libpthread-nonshared | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-all-langpacks | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-benchtests | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-common | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-gconv-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-headers | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-aa | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-af | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-agr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ak | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-am | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-an | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-anp | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ar | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-as | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ast | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ayc | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-az | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-be | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bem | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ber | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bg | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bhb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bho | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-br | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-brx | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-bs | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-byn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ca | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ce | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-chr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-cmn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-crh | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-cs | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-csb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-cv | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-cy | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-da | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-de | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-doi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-dsb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-dv | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-dz | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-el | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-en | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-eo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-es | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-et | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-eu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fa | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ff | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fil | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fur | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-fy | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ga | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-gd | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-gez | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-gl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-gu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-gv | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ha | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hak | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-he | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hif | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hne | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hsb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ht | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-hy | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ia | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-id | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ig | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ik | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-is | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-it | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-iu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ja | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ka | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kab | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kk | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-km | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ko | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kok | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ks | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ku | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-kw | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ky | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lg | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-li | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lij | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ln | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lt | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lv | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-lzh | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mag | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mai | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mfe | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mg | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mhr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-miq | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mjw | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mk | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ml | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mni | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ms | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-mt | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-my | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nan | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nb | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nds | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ne | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nhn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-niu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-nso | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-oc | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-om | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-or | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-os | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-pa | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-pap | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-pl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ps | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-pt | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-quz | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-raj | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ro | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ru | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-rw | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sa | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sah | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sat | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sc | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sd | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-se | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sgs | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-shn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-shs | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-si | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sid | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sk | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sm | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-so | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sq | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ss | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-st | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sv | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-sw | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-szl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ta | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tcy | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-te | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tg | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-th | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-the | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ti | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tig | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tk | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tl | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tn | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-to | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tpi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tr | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ts | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-tt | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ug | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-uk | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-unm | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ur | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-uz | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-ve | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-vi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-wa | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-wae | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-wal | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-wo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-xh | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-yi | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-yo | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-yue | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-yuw | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-zh | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-langpack-zu | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-locale-source | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-minimal-langpack | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-nss-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-static | Not affected | ||
| Red Hat Enterprise Linux 8 | glibc-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | libnsl | Not affected | ||
| Red Hat Enterprise Linux 8 | nscd | Not affected | ||
| Red Hat Enterprise Linux 8 | nss_db | Not affected | ||
| Red Hat Enterprise Linux 8 | nss_hesiod | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc-common | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc-headers | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc-static | Not affected | ||
| Red Hat Enterprise Linux 7 | glibc-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | nscd | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc-common | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc-headers | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc-static | Not affected | ||
| Red Hat Enterprise Linux 6 | glibc-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | nscd | Not affected | ||
| Red Hat Enterprise Linux 5 | glibc | Not affected |
What the vendor says
As published in the CVE record by talos, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNU glibc: affected: 2.30.9000
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202101-20 (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/URXOIA2LDUKHQXK4BE55BQBRI6ZZG3Y6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPYXTDOOB4PQGTYAMZAZNJIB3FF6YQXI/
- https://security.gentoo.org/glsa/202101-20
- https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- https://sourceware.org/bugzilla/show_bug.cgi?id=25620
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2020-1019
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.