Name | CVE-2015-2325 |
Description | The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bounds heap read and crash), or possibly have other unspecified impact via a regular expression with a group containing a forward reference repeated a large number of times within a repeated outer group that has a zero minimum quantifier. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 781795 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
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 |
---|
pcre3 | source | jessie | 2:8.35-3.3+deb8u1 | | | |
pcre3 | source | (unstable) | 2:8.35-7.2 | unimportant | | 781795 |
Notes
http://bugs.exim.org/show_bug.cgi?id=1591
Fixed by: http://vcs.pcre.org/pcre?view=revision&revision=1528
Reproducer leads to "Failed: internal error: previously-checked referenced subpattern not found at offset 17"
Upstream claims that it should though be the same bug:
http://bugs.exim.org/show_bug.cgi?id=1591#c1
Comment from upstream: Probably every version since the support for forward referencing
was introduced is affected.