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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs855405

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
pcre3sourcewheezy(not affected)
pcre3sourcejessie(not affected)
pcre3source(unstable)2:8.39-2.1855405

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