CVE-2015-8381Improper Restriction of Operations within the Bounds of a Memory Buffer in Perl Compatible Regular Expression Library

Severity
7.5HIGHNVD
EPSS
5.8%
top 9.47%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 2
Latest updateMay 14

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 demon

CVSS vector

AV:N/AC:L/C:P/I:P/A:PExploitability: 10.0 | Impact: 6.4

Affected Packages1 packages

🔴Vulnerability Details

3
GHSA
GHSA-wvfj-fw7x-gqpr: The compile_regex function in pcre_compile2022-05-14
CVEList
CVE-2015-8381: The compile_regex function in pcre_compile2015-12-02
OSV
CVE-2015-8381: The compile_regex function in pcre_compile2015-12-02

📋Vendor Advisories

3
Ubuntu
PCRE vulnerabilities2016-03-29
Red Hat
pcre: Buffer overflow caused by duplicate named references (8.38/36)2015-11-23
Debian
CVE-2015-8381: pcre3 - The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compi...2015

💬Community

1
Bugzilla
CVE-2015-8381 CVE-2015-8395 pcre: Buffer overflow caused by duplicate named references (8.38/36)2015-12-02
CVE-2015-8381 — HIGH severity | cvebase