Buffer overflow in Pcre Perl Compatible Regular Expression Library
CVE-2015-8382
The match function in pcre_exec.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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.040, 90.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pcre Perl Compatible Regular Expression Library — versions 8.36
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20151128 Re: Heap Overflow in PCRE (mailing-list)
- bugzilla.redhat.com/show_bug.cgi
- www.securityfocus.com/bid/76157 (vdb-entry)
- [oss-security] 20150804 Re: CVE Request: Information disclosure in pcre (mailing-list)
- bugs.exim.org/show_bug.cgi (Exploit)
- git.php.net/
- bto.bluecoat.com/security-advisory/sa128
- vcs.pcre.org/pcre/code/trunk/ChangeLog (Exploit)
- vcs.pcre.org/pcre/code/trunk/pcre_exec.c