CVE-2015-8381 Memory corruption in n/a
Remote attackers can cause denial of service or potential code execution via crafted regular expressions in the PCRE library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2015-8381?
CVE-2015-8381 is a high-severity memory corruption vulnerability in n/a, published on 2 Dec 2015. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2015-8381?
It affects 1 product.
Products include Pcre Perl Compatible Regular Expression Library.
How do I fix CVE-2015-8381?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2015-8381 being exploited?
There is no known exploitation of CVE-2015-8381 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2015-8381, GHSA-wvfj-fw7x-gqpr.