CVE-2017-6004

NameCVE-2017-6004
DescriptionThe compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs855405

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pcre3 (PTS)wheezy1:8.30-5fixed
jessie2:8.35-3.3+deb8u4fixed
buster, sid, stretch2:8.39-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pcre3source(unstable)2:8.39-2.1medium855405
pcre3sourcejessie(not affected)
pcre3sourcewheezy(not affected)

Notes

[jessie] - pcre3 <not-affected> (Vulnerable code introduced later)
[wheezy] - pcre3 <not-affected> (Vulnerable code introduced later)
https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
https://bugs.exim.org/show_bug.cgi?id=2035

Search for package or bug name: Reporting problems