CVE-2016-3191
CRITICAL9.8EPSS 7.9%pcre3 - security update
Published: 3/17/2016Modified: 4/28/2026
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.
Affected packages (4)
- Alpine/pcrefrom 0, < 8.38-r1
- Debian/pcre2from 0, < 10.21-1
- Debian/pcre3from 0, < 2:8.38-2
- Debian/pcre3from 0, < 8.02-1.1+deb6u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |