CVE-2016-3191

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductPcre
PublishedMar 17, 2016
First seenMar 17, 2016

How to fix

Affected products

ProductAffected versionsFixed in
pcre pcre8.00, 8.01, 8.02, 8.10, 8.11, 8.12, 8.13, 8.20, 8.21, 8.30, 8.31, 8.32, 8.33, 8.34, 8.35, 8.36, 8.37, 8.38—
pcre pcre2v ≤ 10.21—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.