pcre: stack-based buffer overflow write in pcre32_copy_substring
Published Mar 23, 2017
7.8
HIGHCVSS 3.0
EPSS 2.60%
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.
Affected products
No data.
No data.
Red Hat JBoss Core Services
httpd
Fixed · RHSA-2018:2486
Red Hat Enterprise Linux 5
pcre
Will not fix
Red Hat Enterprise Linux 6
glib2
Will not fix
Red Hat Enterprise Linux 6
pcre
Will not fix
Red Hat Enterprise Linux 7
glib2
Will not fix
Red Hat Enterprise Linux 7
pcre
Will not fix
Red Hat Enterprise Linux 7
pcre2
Not affected
Red Hat Enterprise Linux 7
virtuoso-opensource
Will not fix
Red Hat JBoss Enterprise Web Server 1
httpd
Will not fix
Red Hat JBoss Enterprise Web Server 2
httpd
Will not fix
Red Hat JBoss Enterprise Web Server 3
httpd
Will not fix
Red Hat JBoss Web Server 3
pcre
Not affected
Red Hat Software Collections
rh-mariadb100-mariadb
Will not fix
Red Hat Software Collections
rh-mariadb101-mariadb
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php70-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services | httpd | Fixed | RHSA-2018:2486 |
| Red Hat Enterprise Linux 5 | pcre | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | glib2 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | pcre | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | glib2 | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | pcre | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | pcre2 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | virtuoso-opensource | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 1 | httpd | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 2 | httpd | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 3 | httpd | Will not fix | n/a |
| Red Hat JBoss Web Server 3 | pcre | Not affected | n/a |
| Red Hat Software Collections | rh-mariadb100-mariadb | Will not fix | n/a |
| Red Hat Software Collections | rh-mariadb101-mariadb | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php70-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.60% (0.02598) | 84.79th | v5 (v2026.06.15) |
| Sep 22, 2026 | 2.60% (0.02598) | 84.66th | v5 (v2026.06.15) |
| Sep 21, 2026 | 4.03% (0.04030) | 90.17th | v5 (v2026.06.15) |
| Sep 6, 2026 | 2.60% (0.02598) | 84.32th | v5 (v2026.06.15) |
| Sep 5, 2026 | 4.03% (0.04030) | 89.95th | v5 (v2026.06.15) |
| Aug 30, 2026 | 2.60% (0.02598) | 84.23th | v5 (v2026.06.15) |
| Aug 28, 2026 | 4.03% (0.04030) | 89.89th | v5 (v2026.06.15) |
| Aug 24, 2026 | 2.60% (0.02598) | 84.15th | v5 (v2026.06.15) |
| Aug 23, 2026 | 4.03% (0.04030) | 89.84th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.60% (0.02598) | 83.27th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.82% (0.00824) | 72.25th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.74% (0.02740) | 76.61th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.65% (0.00646) | 79.53th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.65% (0.00646) | 78.69th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.65% (0.00646) | 76.68th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.46% (0.00463) | 71.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.62% (0.01623) | 33.90th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.62% (0.01623) | 0.00th | v1 |
References (8)
- http://www.securityfocus.com/bid/97067 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2486 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-7246 Vendor Advisory
- https://blogs.gentoo.org/ago/2017/03/20/libpcre-two-stack-based-buffer-overflow-write-in-pcre32_copy_substring-pcre_get-c/ x_refsource_MISCThird Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1437369 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-7246
- https://security.gentoo.org/glsa/201710-25 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-7246
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/97067 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:2486 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2017-7246 | Vendor Advisory | |
| https://blogs.gentoo.org/ago/2017/03/20/libpcre-two-stack-based-buffer-overflow-write-in-pcre32_copy_substring-pcre_get-c/ | x_refsource_MISCThird Party AdvisoryVDB Entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1437369 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-7246 | ||
| https://security.gentoo.org/glsa/201710-25 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2017-7246 |
Change history (0)
No recorded changes yet.