Vulnerabilities · 2015 · Pcre
CVE-2015-8382
Pcre Perl Compatible Regular Expression Library vulnerability
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.
Affected products
Perl Compatible Regular Expression Library. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pcre Perl Compatible Regular Expression Library runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup · Exploit
- bugs.exim.org/show_bug.cgi?id=1537 · Exploit
- git.php.net/?p=php-src.git%3Ba=commit%3Bh=c351b47ce85a3a147cfa801fa9f0149ab4160834
- vcs.pcre.org/pcre/code/trunk/pcre_exec.c?r1=1502&r2=1510
- www.openwall.com/lists/oss-security/2015/08/04/3
- www.openwall.com/lists/oss-security/2015/11/29/1
- www.securityfocus.com/bid/76157
- bto.bluecoat.com/security-advisory/sa128
- nvd.nist.gov/vuln/detail/CVE-2015-8382
- cve.org/CVERecord?id=CVE-2015-8382
More vulnerabilities in Pcre products
CVE-2025-58050CVE-2022-41409CVE-2022-1587CVE-2022-1586CVE-2020-14155CVE-2019-20838CVE-2019-20454CVE-2017-16231All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.