cbcvebase.
CVE-2016-3191
published 2016-03-17

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)…

PriorityP359critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
8.43%
94.4th percentile
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.

Affected

25 ranges
VendorProductVersion rangeFixed in
debianpcre2< pcre2 10.21-1 (bookworm)pcre2 10.21-1 (bookworm)
debianpcre3< pcre2 10.21-1 (bookworm)pcre2 10.21-1 (bookworm)
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre
pcrepcre2<= 10.21
pcrepcre2>= 0 < 10.21-110.21-1
pcrepcre2>= 0 < 10.21-110.21-1
pcrepcre2>= 0 < 10.21-110.21-1
pcrepcre2>= 0 < 10.21-110.21-1

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.