CVE-2015-8381

NameCVE-2015-8381
DescriptionThe compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs795539, 796762

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre3 (PTS)bullseye2:8.39-13fixed
bookworm2:8.39-15fixed
sid2:8.39-15.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre3sourcesqueeze(not affected)
pcre3sourcewheezy(not affected)
pcre3sourcejessie2:8.35-3.3+deb8u2
pcre3source(unstable)2:8.38-1795539, 796762

Notes

[wheezy] - pcre3 <not-affected> (Vulnerable code introduced later)
[squeeze] - pcre3 <not-affected> (Vulnerable code introduced later)
https://bugs.exim.org/show_bug.cgi?id=1672
http://vcs.pcre.org/pcre?view=revision&revision=1594
https://www.openwall.com/lists/oss-security/2015/08/24/1
https://bugs.exim.org/show_bug.cgi?id=1667
https://www.openwall.com/lists/oss-security/2015/08/05/3
http://vcs.pcre.org/pcre?view=revision&revision=1585
https://bugzilla.redhat.com/show_bug.cgi?id=1250943

Search for package or bug name: Reporting problems