Name | CVE-2016-3191 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-441-1 |
Debian Bugs | 815920, 815921 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
pcre2 (PTS) | stretch (lts), stretch | 10.22-3+deb9u1 | fixed |
buster (security), buster, buster (lts) | 10.32-5+deb10u1 | fixed | |
bullseye | 10.36-2+deb11u1 | fixed | |
bookworm | 10.42-1 | fixed | |
sid, trixie | 10.44-5 | fixed | |
pcre3 (PTS) | jessie | 2:8.35-3.3+deb8u4 | fixed |
stretch | 2:8.39-3 | fixed | |
buster | 2:8.39-12 | fixed | |
bullseye | 2:8.39-13 | fixed | |
bookworm | 2:8.39-15 | fixed | |
sid | 2:8.39-15.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
pcre2 | source | (unstable) | 10.21-1 | 815920 | ||
pcre3 | source | squeeze | 8.02-1.1+deb6u1 | DLA-441-1 | ||
pcre3 | source | jessie | 2:8.35-3.3+deb8u3 | |||
pcre3 | source | (unstable) | 2:8.38-2 | 815921 |
[wheezy] - pcre3 <no-dsa> (Minor issue)
pcre3: http://vcs.pcre.org/pcre?view=revision&revision=1631
pcre2: http://vcs.pcre.org/pcre2?view=revision&revision=489
https://bugs.exim.org/show_bug.cgi?id=1791
https://bugzilla.redhat.com/show_bug.cgi?id=1311503