CVE-2016-1283
CRITICAL
9.8
CVSS 3.1
Description
The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, 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.
Affected products and versions
- PHP — From 5.6.0 (including) to 5.6.32 (excluding)
- PHP — From 7.0.0 (including) to 7.0.25 (excluding)
- PHP — From 7.1.0 (including) to 7.1.11 (excluding)
References
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178193.html Mailing List, Third Party Advisory
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178955.html Mailing List, Third Party Advisory
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html Third Party Advisory
- www.securityfocus.com http://www.securityfocus.com/bid/79825 Third Party Advisory, VDB Entry
- www.securitytracker.com http://www.securitytracker.com/id/1034555 Broken Link, Third Party Advisory, VDB Entry
- www.slackware.com http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.343110 Third Party Advisory
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1132 Third Party Advisory
- bto.bluecoat.com https://bto.bluecoat.com/security-advisory/sa128 Permissions Required, Third Party Advisory
- bugs.exim.org https://bugs.exim.org/show_bug.cgi?id=1767 Exploit, Issue Tracking, Permissions Required, Third Party Advisory
- security.gentoo.org https://security.gentoo.org/glsa/201607-02 Third Party Advisory
- www.tenable.com https://www.tenable.com/security/tns-2016-18 Third Party Advisory
- www.tenable.com https://www.tenable.com/security/tns-2017-14 Third Party Advisory
- nvd.nist.gov Official NVD record