CVE-2018-20796
In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by '(\227|)(\\1\\1|t1|\\\2537)+' in grep.
What to do
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 | Fix pending | UBUNTU-CVE-2018-20796 | |
| Ubuntu 18.04 | glibc | Fix pending | UBUNTU-CVE-2018-20796 | |
| Ubuntu 16.04 | glibc | Will not fix glibc regex compiler is not supposed to be exposed to untrusted content, and upstream does not consider this to be a security issue:… | UBUNTU-CVE-2018-20796 | |
| Ubuntu 14.04 | eglibc | Fix pending | UBUNTU-CVE-2018-20796 | |
| Debian 14 | glibc | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-20796 | |
| Debian 13 | glibc | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-20796 | |
| Debian 12 | glibc | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-20796 | |
| 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 |
References
- https://security.netapp.com/advisory/ntap-20190315-0002/
- https://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00108.html
- http://www.securityfocus.com/bid/107160
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34141
- https://support.f5.com/csp/article/K26346590?utm_source=f5support&%3Butm_medium=RSS
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.