CVE-2017-7186
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of...
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
CVE-2017-7186- Updated
- 2026-11-02
EUVDEUVD-2017-16224 No score
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
EUVD-2017-16224- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vrw4-ffp3-c5mv
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of...
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
GHSA-vrw4-ffp3-c5mv- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-7186
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
ALPINE-CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-7186
7.5
CVE-2017-7186 does not affect BellSoft software
- Record
BELL-CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSV
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-7186
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
DEBIAN-CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-7186
7.5
libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of service (segmentation violation for read access, and application crash) by triggering an invalid Unicode property lookup.
- Record
UBUNTU-CVE-2017-7186- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVMGASA-2017-0454 No score
Updated pcre packages fix security vulnerabilities
The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression (CVE-2017-6004).
A vulnerability was found in pcre caused by trying to find a Unicode property for a code value greater than 0x10ffff, the Unicode maximum, when running in non-UTF mode (where character values can be up to 0xffffffff) (CVE-2017-7186).
The _pcre32_xclass function in pcre_xclass.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a denial of service (invalid memory read) via a crafted file (CVE-2017-7244).
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 4) or possibly have unspecified other impact via a crafted file (CVE-2017-7245).
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 (CVE-2017-7246).
- Record
MGASA-2017-0454- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11153-1 No score
libpcre1-32bit-8.45-1.2 on GA media
These are all security issues fixed in the libpcre1-32bit-8.45-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11153-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11154-1 No score
libpcre2-16-0-10.37-1.2 on GA media
These are all security issues fixed in the libpcre2-16-0-10.37-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11154-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3652-1 No score
Security update for pcre
This update for pcre fixes the following issues:
Update pcre to version 8.45:
- CVE-2020-14155: Fixed integer overflow via a large number after a '(?C' substring (bsc#1172974).
- CVE-2019-20838: Fixed buffer over-read in JIT compiler (bsc#1172973).
- CVE-2017-7244: Fixed invalid read in _pcre32_xclass() (bsc#1030807).
- CVE-2017-7245: Fixed buffer overflow in the pcre32_copy_substring (bsc#1030805).
- CVE-2017-7246: Fixed another buffer overflow in the pcre32_copy_substring (bsc#1030803).
- CVE-2017-7186: Fixed denial of service caused by an invalid Unicode property lookup (bsc#1030066).
- CVE-2017-6004: Fixed denial of service via crafted regular expression (bsc#1025709).
- Record
SUSE-SU-2021:3652-1- Updated
- 2026-11-02
OSVUSN-5665-1 No score
pcre3 vulnerabilities
It was discovered that PCRE incorrectly handled certain regular expressions. A remote attacker could use this issue to cause applications using PCRE to crash, resulting in a denial of service. (CVE-2017-6004)
It was discovered that PCRE incorrectly handled certain Unicode encoding. A remote attacker could use this issue to cause applications using PCRE to crash, resulting in a denial of service. (CVE-2017-7186)
- Record
USN-5665-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pcreAlpine:v3.10 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.11 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.12 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.13 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.14 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.15 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.16 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.17 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.18 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.19 |
before 8.40-r2 | 8.40-r2 |
Show 49 moreShow less
| Package | Affected | Fixed |
|---|---|---|
pcreAlpine:v3.20 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.21 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.22 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.23 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.24 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.6 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.7 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.8 |
before 8.40-r2 | 8.40-r2 |
pcreAlpine:v3.9 |
before 8.40-r2 | 8.40-r2 |
pcre2Debian:12 |
before 10.22-3 | 10.22-3 |
pcre2Debian:13 |
before 10.22-3 | 10.22-3 |
pcre2Debian:14 |
before 10.22-3 | 10.22-3 |
pcre3Debian:12 |
before 2:8.39-3 | 2:8.39-3 |
pcreMageia:5 |
before 8.41-1.mga5 | 8.41-1.mga5 |
pcreMageia:6 |
before 8.41-1.mga6 | 8.41-1.mga6 |
pcreSUSE:HPE Helion OpenStack 8 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:HPE Helion OpenStack 8 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:OpenStack Cloud 8 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:OpenStack Cloud 8 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:OpenStack Cloud 9 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:OpenStack Cloud 9 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:OpenStack Cloud Crowbar 8 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:OpenStack Cloud Crowbar 8 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:OpenStack Cloud Crowbar 9 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:OpenStack Cloud Crowbar 9 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise High Availability Extension 12 SP3 |
before 8.45-8.7.1 | 8.45-8.7.1 |
pcreSUSE:Linux Enterprise High Availability Extension 12 SP4 |
before 8.45-8.7.1 | 8.45-8.7.1 |
pcreSUSE:Linux Enterprise High Availability Extension 12 SP5 |
before 8.45-8.7.1 | 8.45-8.7.1 |
pcreSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server 12 SP2-BCL |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server 12 SP2-BCL |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server 12 SP3-LTSS |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server 12 SP3-BCL |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server 12 SP3-BCL |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server 12 SP4-LTSS |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server 12 SP5 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server 12 SP5 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 8.45-8.7.1 | 8.45-8.7.1 |
selinux-policySUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 20140730-36.5.2 | 20140730-36.5.2 |
pcreSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 8.45-8.7.1 | 8.45-8.7.1 |
pcre3Ubuntu:Pro:16.04:LTS |
before 2:8.38-3.1ubuntu0.1~esm2, plus listed versions 2:8.35-7.1ubuntu12:8.38-1ubuntu12:8.38-32:8.38-3.12:8.38-3.1ubuntu0.1~esm1 |
2:8.38-3.1ubuntu0.1~esm2 |
pcre2Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 10.20-110.20-210.20-310.21-110.21-1ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-7186 is a high vulnerability (CVSS 7.5) in Pcre, published March 20, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.03%, the 92nd percentile. Fixed in pcre 8.40-r2.
References
bugs.exim.org/show_bug.cgi?id=2052
security.gentoo.org/glsa/201710-09
vcs.pcre.org/pcre/code/trunk/pcre_internal.h?r1=1649&r2=1688&sortby=date
vcs.pcre.org/pcre2/code/trunk/src/pcre2_internal.h?r1=600&r2=670&sortby=date
vcs.pcre.org/pcre/code/trunk/pcre_ucd.c?r1=1490&r2=1688&sortby=date
securityfocus.com/bid/97030
Show 35 moreShow less
blogs.gentoo.org/ago/2017/03/14/libpcre-invalid-memory-read-in-match-pcre_exec-c
vcs.pcre.org/pcre2/code/trunk/src/pcre2_ucd.c?r1=316&r2=670&sortby=date
access.redhat.com/errata/RHSA-2018:2486
security.gentoo.org/glsa/201710-25
nvd.nist.gov/vuln/detail/CVE-2017-7186
github.com/advisories/GHSA-vrw4-ffp3-c5mv
security.alpinelinux.org/vuln/CVE-2017-7186
docs.bell-sw.com/security/cves/CVE-2017-7186
security-tracker.debian.org/tracker/CVE-2017-7186
advisories.mageia.org/MGASA-2017-0454.html
bugs.mageia.org/show_bug.cgi?id=20355
openwall.com/lists/oss-security/2017/03/24/1
openwall.com/lists/oss-security/2017/03/24/2
lists.fedoraproject.org/archives/list/[email protected]/thread/ESZV6GLV63XBXTZQOAJPOWLRIG35TEV7
lists.fedoraproject.org/archives/list/[email protected]/thread/XEYMUTVQAMYFGYH7ZE6RJD34GJMBZRMS
suse.com/support/update/announcement/2021/suse-su-20213652-1
bugzilla.suse.com/1025709
bugzilla.suse.com/1030066
bugzilla.suse.com/1030803
bugzilla.suse.com/1030805
bugzilla.suse.com/1030807
bugzilla.suse.com/1172973
bugzilla.suse.com/1172974
suse.com/security/cve/CVE-2017-6004
suse.com/security/cve/CVE-2017-7186
suse.com/security/cve/CVE-2017-7244
suse.com/security/cve/CVE-2017-7245
suse.com/security/cve/CVE-2017-7246
suse.com/security/cve/CVE-2019-20838
suse.com/security/cve/CVE-2020-14155
ubuntu.com/security/CVE-2017-7186
ubuntu.com/security/notices/USN-5665-1
cve.org/CVERecord?id=CVE-2017-7186
ubuntu.com/security/CVE-2017-6004
suse.com/security/cve/CVE-2017-8786