← Vulnerability feed

Vulnerability record · CVE-2017-7246 · published 23 March 2017

CVE-2017-7246: Pcre memory buffer overflow vulnerability

Pcre · Pcre

Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.

7.8 CVSS 3.0 High EPSS 2.6% · top 15.3% CWE-119 · Memory buffer overflow
7.8CVSS 3.0 base score, v2 6.8
2.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (WRITE of size 268) or possibly have unspecified other impact via a crafted file.

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-7246 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2015-3210Pcre2 out-of-bounds write vulnerabilityHeap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote attackers to execute arbitrary code via a crafted regular expressi…EPSS 9.2%9.8CVE-2016-3191Pcre memory buffer overflow vulnerabilityThe compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*A…EPSS 8.4%9.8CVE-2016-1283Pcre memory buffer overflow vulnerabilityThe pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'…EPSS 7.8%9.8CVE-2015-8391Pcre memory buffer overflow vulnerabilityThe pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a denial of ser…EPSS 6.4%9.1CVE-2015-5073Ibm powerkvm memory buffer overflow vulnerabilityHeap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote attackers to cause a denial of servic…EPSS 7.7%7.8CVE-2015-2325Pcre out-of-bounds read vulnerabilityThe compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bound…EPSS 1.6%7.8CVE-2017-7245Pcre memory buffer overflow vulnerabilityStack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of…EPSS 2.3%7.5CVE-2019-20838Pcre out-of-bounds read vulnerabilitylibpcre in PCRE before 8.43 allows a subject buffer over-read in JIT when UTF is disabled, and \X or \R has more than one fixed quantifier, a related…EPSS 2.8%

Source: NIST National Vulnerability Database (record CVE-2017-7246), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.