CVE-2016-3191

UnknownEPSS 8.43%

Last modified

CVE-2016-3191 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 8.43% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
8.43%

94.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PcrePcre8.00
PcrePcre8.01
PcrePcre8.02
PcrePcre8.10
PcrePcre8.11
PcrePcre8.12
PcrePcre8.13
PcrePcre8.20
PcrePcre8.21
PcrePcre8.30
PcrePcre8.31
PcrePcre8.32
PcrePcre8.33
PcrePcre8.34
PcrePcre8.35
PcrePcre8.36
PcrePcre8.37
PcrePcre8.38
PcrePcre2<= 10.21

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2016-3191?
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.
How severe is CVE-2016-3191?
Severity scoring for CVE-2016-3191 is pending analysis. The EPSS model estimates a 8.43% probability of exploitation in the next 30 days.
How do I fix CVE-2016-3191?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2016-3191?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST