CVE-2016-3191

Published: 17 March 2016

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.

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
pcre2
Launchpad, Ubuntu, Debian
Upstream
Released (10.21-1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(10.31-2)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(10.21-1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: http://vcs.pcre.org/pcre2?view=revision&revision=489
pcre3
Launchpad, Ubuntu, Debian
Upstream
Released (2:8.38-2)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(2:8.38-3)
Ubuntu 16.04 ESM (Xenial Xerus) Not vulnerable
(2:8.38-3)
Ubuntu 14.04 ESM (Trusty Tahr)
Released (1:8.31-2ubuntu2.2)
Patches:
Upstream: http://vcs.pcre.org/pcre?view=revision&revision=1631