CVE-2016-1283: Buffer Overflow

Published Jan 3, 2016
·
Updated

Fixed bug (applied upstream patch for CVE-2016-1283).

Other sources

It was found that pcrecompile2 function in pcrecompile.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 via heap-based buffer overflow.

Upstream bug:

https://bugs.exim.org/showbug.cgi?id=1767

Red Hat

The pcrecompile2 function in pcrecompile.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.

MITRE

Affected Software

9 affected componentsFixes available
redhat/pcre<8.39
8.39
PHP PHP<7.0.25
7.0.25
PCRE PCRE=8.38
PHP PHP>=5.6.0<5.6.32
PHP PHP>=7.0.0<7.0.25
PHP PHP>=7.1.0<7.1.11
Fedoraproject Fedora=22
Fedoraproject Fedora=23
Oracle Solaris=11.3

Event History

Jan 3, 2016
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-1283?

CVE-2016-1283 has been classified as a high severity vulnerability, impacting the stability of applications that rely on the affected versions of PCRE.

2

How do I fix CVE-2016-1283?

To fix CVE-2016-1283, upgrade PCRE to version 8.39 or later, or PHP to versions above 7.0.25.

3

What systems are affected by CVE-2016-1283?

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.

4

What type of attack is possible with CVE-2016-1283?

CVE-2016-1283 allows remote attackers to cause a denial of service through specially crafted regular expression patterns.

5

Is there a workaround for CVE-2016-1283 until I can update?

The best mitigation for CVE-2016-1283 is to avoid using vulnerable regular expressions if the software cannot be upgraded immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203