CVE-2017-11164
In PCRE 8.41, the OP_KETRMAX feature in the match function in pcre_exec.c allows stack exhaustion (uncontrolled recursion) when processing a crafted regular expression.
What to do
Fixed builds are available from Alpine: 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 25.10 | pcre3 | Will not fix reproducer in oss-security posting. to exploit this requires an application take regular expressions as untrusted input (not just the string to match… | UBUNTU-CVE-2017-11164 | |
| Ubuntu 24.04 | pcre3 | Fix pending | UBUNTU-CVE-2017-11164 | |
| Ubuntu 22.04 | pcre3 | Will not fix reproducer in oss-security posting. to exploit this requires an application take regular expressions as untrusted input (not just the string to match… | UBUNTU-CVE-2017-11164 | |
| Ubuntu 20.04 | pcre3 | Will not fix reproducer in oss-security posting. to exploit this requires an application take regular expressions as untrusted input (not just the string to match… | UBUNTU-CVE-2017-11164 | |
| Ubuntu 18.04 | pcre3 | Will not fix reproducer in oss-security posting. to exploit this requires an application take regular expressions as untrusted input (not just the string to match… | UBUNTU-CVE-2017-11164 | |
| Ubuntu 16.04 | pcre3 | Will not fix reproducer in oss-security posting. to exploit this requires an application take regular expressions as untrusted input (not just the string to match… | UBUNTU-CVE-2017-11164 | |
| Ubuntu 14.04 | pcre3 | Fix pending | UBUNTU-CVE-2017-11164 | |
| Debian 12 | pcre3 | 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-2017-11164 | |
| Red Hat Enterprise Linux 7 | glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | glib2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | glib2-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | glib2-fam | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | glib2-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | glib2-tests | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre2 | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre2-static | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre2-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre2-utf16 | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre2-utf32 | Not affected | ||
| Red Hat Enterprise Linux 7 | virtuoso-opensource | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | virtuoso-opensource-utils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | pcre | Will not fix Will not fix | ||
| Alpine Linux 3.24 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.23 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.22 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.21 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.20 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.19 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.18 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.17 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.16 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.15 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.14 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.13 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.12 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.11 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.10 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.9 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.8 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.7 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
| Alpine Linux 3.6 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-11164 |
References
- http://www.securityfocus.com/bid/99575
- http://openwall.com/lists/oss-security/2017/07/11/3
- https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- http://www.openwall.com/lists/oss-security/2023/04/11/1
- http://www.openwall.com/lists/oss-security/2023/04/12/1
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.