{"id":"UBUNTU-CVE-2017-11164","details":"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.","modified":"2026-04-22T11:10:44.262299Z","published":"2017-07-11T03:29:00Z","upstream":["CVE-2017-11164"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-11164"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2017/07/11/3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-11164"}],"affected":[{"package":{"name":"pcre3","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/pcre3@1:8.31-2ubuntu2.3+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:8.31-2","1:8.31-2ubuntu2","1:8.31-2ubuntu2.1","1:8.31-2ubuntu2.2","1:8.31-2ubuntu2.3","1:8.31-2ubuntu2.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre3","binary_version":"1:8.31-2ubuntu2.3+esm1"},{"binary_name":"libpcrecpp0","binary_version":"1:8.31-2ubuntu2.3+esm1"},{"binary_name":"pcregrep","binary_version":"1:8.31-2ubuntu2.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.38-3.1ubuntu0.1~esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.35-7.1ubuntu1","2:8.38-1ubuntu1","2:8.38-3","2:8.38-3.1","2:8.38-3.1ubuntu0.1~esm1","2:8.38-3.1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.38-3.1ubuntu0.1~esm2"},{"binary_name":"libpcre3","binary_version":"2:8.38-3.1ubuntu0.1~esm2"},{"binary_name":"libpcre32-3","binary_version":"2:8.38-3.1ubuntu0.1~esm2"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.38-3.1ubuntu0.1~esm2"},{"binary_name":"pcregrep","binary_version":"2:8.38-3.1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-9ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-5ubuntu3","2:8.39-8","2:8.39-9","2:8.39-9ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-9ubuntu0.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-9ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-12ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-12","2:8.39-12build1","2:8.39-12ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-12ubuntu0.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-12ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-13ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-13build3","2:8.39-13build4","2:8.39-13build5","2:8.39-13ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-13ubuntu0.22.04.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-13ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pcre3@2:8.39-15build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-15","2:8.39-15build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcre3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-15build1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-15build1"},{"binary_name":"pcregrep","binary_version":"2:8.39-15build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}},{"package":{"name":"pcre3","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/pcre3@2:8.39-15.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:8.39-15.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre16-3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcre3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcre32-3","binary_version":"2:8.39-15.1"},{"binary_name":"libpcrecpp0v5","binary_version":"2:8.39-15.1"},{"binary_name":"pcregrep","binary_version":"2:8.39-15.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11164.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}