CVE-2015-8381
Last modified
CVE-2015-8381 is a vulnerability of currently unknown severity. The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, 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.. EPSS estimates a 5.29% chance of exploitation in the next 30 days.
Description
The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, 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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pcre | Perl Compatible Regular Expression Library | <= 8.37 |
References
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markupExploit, Release Notes
- http://www.openwall.com/lists/oss-security/2015/11/29/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/76187Third Party Advisory, VDB Entry
- https://bto.bluecoat.com/security-advisory/sa128Third Party Advisory
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markupExploit, Release Notes
- http://www.openwall.com/lists/oss-security/2015/11/29/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/76187Third Party Advisory, VDB Entry
- https://bto.bluecoat.com/security-advisory/sa128Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2015-8381?
How severe is CVE-2015-8381?
How do I fix CVE-2015-8381?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2015
- CVE-2015-8375Cross-site scripting (XSS) vulnerability in PHP-Fusion 9.
- CVE-2015-8376Multiple cross-site scripting (XSS) vulnerabilities in Symph…
- CVE-2015-8377SQL injection vulnerability in the host_new_graphs_save func…
- CVE-2015-8378In KeePassX before 0.4.4, a cleartext copy of password data …
- CVE-2015-8379CakePHP 2.x and 3.x before 3.1.5 might allow remote attacker…
- CVE-2015-8380The pcre_exec function in pcre_exec.c in PCRE before 8.38 mi…
- CVE-2015-8382The match function in pcre_exec.c in PCRE before 8.37 mishan…
- CVE-2015-8383PCRE before 8.38 mishandles certain repeated conditional gro…9.8
- CVE-2015-8384PCRE before 8.38 mishandles the /(?J)(?'d'(?'d'\g{d}))/ patt…
- CVE-2015-8385PCRE before 8.38 mishandles the /(?|(\k'Pm')|(?'Pm'))/ patte…
- CVE-2015-8386PCRE before 8.38 mishandles the interaction of lookbehind as…9.8
- CVE-2015-8387PCRE before 8.38 mishandles (?123) subroutine calls and rela…7.3
Are you affected by CVE-2015-8381?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
