{"id":"UBUNTU-CVE-2017-6004","details":"The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.","modified":"2026-04-22T12:25:04.362841Z","published":"2017-02-16T11:59:00Z","related":["USN-5665-1"],"upstream":["CVE-2017-6004"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-6004"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5665-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-6004"}],"affected":[{"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"},{"fixed":"2:8.38-3.1ubuntu0.1~esm2"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2:8.38-3.1ubuntu0.1~esm2","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6004.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":"low"}]}