{"id":"CVE-2015-8381","state":"PUBLISHED","title":"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'))))/ a","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.","publishedAt":"2015-12-02T01:00:00.000Z","updatedAt":"2024-08-06T08:13:32.417Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2015/11/29/1","https://access.redhat.com/errata/RHSA-2016:1132","http://rhn.redhat.com/errata/RHSA-2016-2750.html","http://www.securityfocus.com/bid/76187","https://bugs.exim.org/show_bug.cgi?id=1667","https://bugs.exim.org/show_bug.cgi?id=1672","https://bto.bluecoat.com/security-advisory/sa128","http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup","https://security.gentoo.org/glsa/201607-02"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:17.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/8xxx/CVE-2015-8381.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-8381","state":"PUBLISHED","datePublished":"2015-12-02T01:00:00.000Z","dateUpdated":"2024-08-06T08:13:32.417Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2015-12-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/11/29/1","name":"[oss-security] 20151128 Re: Heap Overflow in PCRE","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/76187","name":"76187","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1667","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1672","tags":["x_refsource_CONFIRM"]},{"url":"https://bto.bluecoat.com/security-advisory/sa128","tags":["x_refsource_CONFIRM"]},{"url":"http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201607-02","name":"GLSA-201607-02","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2015-11-23T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-8381","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20151128 Re: Heap Overflow in PCRE","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2015/11/29/1"},{"name":"RHSA-2016:1132","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2016:1132"},{"name":"RHSA-2016:2750","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"name":"76187","refsource":"BID","url":"http://www.securityfocus.com/bid/76187"},{"name":"https://bugs.exim.org/show_bug.cgi?id=1667","refsource":"CONFIRM","url":"https://bugs.exim.org/show_bug.cgi?id=1667"},{"name":"https://bugs.exim.org/show_bug.cgi?id=1672","refsource":"CONFIRM","url":"https://bugs.exim.org/show_bug.cgi?id=1672"},{"name":"https://bto.bluecoat.com/security-advisory/sa128","refsource":"CONFIRM","url":"https://bto.bluecoat.com/security-advisory/sa128"},{"name":"http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup","refsource":"CONFIRM","url":"http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup"},{"name":"GLSA-201607-02","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201607-02"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2015/11/29/1","name":"[oss-security] 20151128 Re: Heap Overflow in PCRE","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/76187","name":"76187","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1667","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.exim.org/show_bug.cgi?id=1672","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bto.bluecoat.com/security-advisory/sa128","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201607-02","name":"GLSA-201607-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T08:13:32.417Z"}}]}}}