CWE
119
Advisory Published
Updated

CVE-2016-1283: Buffer Overflow

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203