CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2016 · Pcre

CVE-2016-3191
Pcre vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Pcre, Pcre2. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pcre runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Pcre products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.