First published: Sun Jan 03 2016(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/pcre | <8.39 | 8.39 |
PHP | <7.0.25 | 7.0.25 |
pcre pcre | =8.38 | |
PHP | >=5.6.0<5.6.32 | |
PHP | >=7.0.0<7.0.25 | |
PHP | >=7.1.0<7.1.11 | |
Fedoraproject Fedora | =22 | |
Fedoraproject Fedora | =23 | |
Oracle Solaris SPARC | =11.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-1283 has been classified as a high severity vulnerability, impacting the stability of applications that rely on the affected versions of PCRE.
To fix CVE-2016-1283, upgrade PCRE to version 8.39 or later, or PHP to versions above 7.0.25.
CVE-2016-1283 affects PCRE version 8.38 and PHP versions up to 7.0.25, along with specific versions of Fedora and Oracle Solaris.
CVE-2016-1283 allows remote attackers to cause a denial of service through specially crafted regular expression patterns.
The best mitigation for CVE-2016-1283 is to avoid using vulnerable regular expressions if the software cannot be upgraded immediately.