{"id":"CVE-2016-3191","published":"2016-03-17T23:00:00Z","modified":"2024-08-05T23:47:58Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0843,"percentile":0.95124,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/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","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","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"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":19.02}]},"summary":{"text":"The flaw is in the compile_branch function of PCRE (pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22), where patterns containing an (*ACCEPT) substring combined with nested parentheses are mishandled. An attacker who can supply a crafted regular expression to an affected library, such as a JavaScript RegExp object processed by Konqueror, can trigger a stack-based buffer overflow that may lead to arbitrary code execution or denial of service, without needing prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:53:50Z"},"euvd":{"id":"EUVD-2016-4232","exploited":false,"provenance":"source"}}