CVE-2015-8382: Buffer Overflow

Published Jan 29, 2015
·
Updated

It was reported that pcreexec in PHP pcre extension partially initialize a buffer when an invalid regex is processed, which can information disclosure.

A mitigation fix have been applied in PHP 5.4+ http://git.php.net/?p=php-src.git;a=commitdiff;h=c351b47ce85a3a147cfa801fa9f0149ab4160834

Upstream bug report (with a patch proposal): http://bugs.exim.org/showbug.cgi?id=1537

Other sources

The match function in pcreexec.c in PCRE before 8.37 mishandles the /(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((ACCEPT)))/ pattern and related patterns involving (ACCEPT), which allows remote attackers to obtain sensitive information from process memory or cause a denial of service (partially initialized memory and application crash) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-2547.

MITRE

Affected Software

1 affected component
PCRE Perl Compatible Regular Expression Library=8.36

Event History

Jan 29, 2015
Data Sourced
03:14 PM
DescriptionSeverityAffected Software
Dec 2, 2015
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-8382?

CVE-2015-8382 has been classified with a severity that allows for information disclosure potential.

2

How do I fix CVE-2015-8382?

To mitigate CVE-2015-8382, ensure you are using PHP version 5.4 or higher where patch fixes have been applied.

3

What software is affected by CVE-2015-8382?

CVE-2015-8382 affects the PCRE library versions up to and including 8.36.

4

Can CVE-2015-8382 lead to any exploits?

Yes, CVE-2015-8382 can lead to scenarios where an attacker may exploit buffer initialization issues to disclose sensitive information.

5

Is there a specific version of PHP that addresses CVE-2015-8382?

Yes, PHP versions 5.4 and above include mitigations for the vulnerability outlined in CVE-2015-8382.

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