Buffer overflow in Pcre Perl Compatible Regular Expression Library
CVE-2015-8380
The pcre_exec function in pcre_exec.c in PCRE before 8.38 mishandles a // pattern with a \01 string, 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.044, 91.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, bygregonline/devsec-fastapi-report, marklogic/marklogic-docker, …). 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, Exploit)
- bugs.exim.org/show_bug.cgi (Exploit)
- blog.fuzzing-project.org/29-Heap-Overflow-in-PCRE.html (Third Party Advisory)
- FEDORA-2015-afafa29551 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/77695 (Third Party Advisory, VDB Entry, vdb-entry)
- bto.bluecoat.com/security-advisory/sa128 (Third Party Advisory)
- vcs.pcre.org/pcre/code/trunk/ChangeLog (Exploit)
- GLSA-201607-02 (vendor-advisory)