{"id":"CVE-2016-3191","state":"PUBLISHED","title":"The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction","description":"The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.","publishedAt":"2016-03-17T23:00:00.000Z","updatedAt":"2024-08-05T23:47:58.389Z","severity":null,"assigner":"debian","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/84810","http://vcs.pcre.org/pcre2?view=revision&revision=489","https://access.redhat.com/errata/RHSA-2016:1132","http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886","http://rhn.redhat.com/errata/RHSA-2016-1025.html","https://bugs.debian.org/815921","https://bugs.debian.org/815920","https://bugzilla.redhat.com/show_bug.cgi?id=1311503","https://bugs.exim.org/show_bug.cgi?id=1791","https://www.tenable.com/security/tns-2016-18","https://bto.bluecoat.com/security-advisory/sa128","http://vcs.pcre.org/pcre?view=revision&revision=1631"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:40.893Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/3xxx/CVE-2016-3191.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-3191","state":"PUBLISHED","datePublished":"2016-03-17T23:00:00.000Z","dateUpdated":"2024-08-05T23:47:58.389Z","assignerShortName":"debian","assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","dateReserved":"2016-03-15T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/84810","name":"84810","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://vcs.pcre.org/pcre2?view=revision&revision=489","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1025.html","name":"RHSA-2016:1025","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.debian.org/815921","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.debian.org/815920","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1311503","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1791","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2016-18","tags":["x_refsource_CONFIRM"]},{"url":"https://bto.bluecoat.com/security-advisory/sa128","tags":["x_refsource_CONFIRM"]},{"url":"http://vcs.pcre.org/pcre?view=revision&revision=1631","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"debian","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5"},"datePublic":"2016-02-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2016-3191","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"84810","refsource":"BID","url":"http://www.securityfocus.com/bid/84810"},{"name":"http://vcs.pcre.org/pcre2?view=revision&revision=489","refsource":"CONFIRM","url":"http://vcs.pcre.org/pcre2?view=revision&revision=489"},{"name":"RHSA-2016:1132","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2016:1132"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"name":"http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886","refsource":"CONFIRM","url":"http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886"},{"name":"RHSA-2016:1025","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1025.html"},{"name":"https://bugs.debian.org/815921","refsource":"CONFIRM","url":"https://bugs.debian.org/815921"},{"name":"https://bugs.debian.org/815920","refsource":"CONFIRM","url":"https://bugs.debian.org/815920"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1311503","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1311503"},{"name":"https://bugs.exim.org/show_bug.cgi?id=1791","refsource":"CONFIRM","url":"https://bugs.exim.org/show_bug.cgi?id=1791"},{"name":"https://www.tenable.com/security/tns-2016-18","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2016-18"},{"name":"https://bto.bluecoat.com/security-advisory/sa128","refsource":"CONFIRM","url":"https://bto.bluecoat.com/security-advisory/sa128"},{"name":"http://vcs.pcre.org/pcre?view=revision&revision=1631","refsource":"CONFIRM","url":"http://vcs.pcre.org/pcre?view=revision&revision=1631"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/84810","name":"84810","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://vcs.pcre.org/pcre2?view=revision&revision=489","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1025.html","name":"RHSA-2016:1025","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugs.debian.org/815921","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.debian.org/815920","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1311503","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1791","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2016-18","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bto.bluecoat.com/security-advisory/sa128","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://vcs.pcre.org/pcre?view=revision&revision=1631","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T23:47:58.389Z"}}]}}}