CVE-2015-8381
The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.4% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (9)
- [oss-security] 20151128 Re: Heap Overflow in PCRE (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2016:1132 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:2750 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 76187 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://bugs.exim.org/show_bug.cgi?id=1667 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.exim.org/show_bug.cgi?id=1672 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bto.bluecoat.com/security-advisory/sa128 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201607-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-8381)Record last updated .