Every CVE Search/ Get API key

CVE-2017-7186

libpcre1 in PCRE 8.40 and libpcre2 in PCRE2 10.23 allow remote attackers to cause a denial of...

7.5 HighFix available

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

5.03%Up 1.5 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
pcre
Alpine:v3.10
before 8.40-r2
8.40-r2
pcre
Alpine:v3.11
before 8.40-r2
8.40-r2
pcre
Alpine:v3.12
before 8.40-r2
8.40-r2
pcre
Alpine:v3.13
before 8.40-r2
8.40-r2
pcre
Alpine:v3.14
before 8.40-r2
8.40-r2
pcre
Alpine:v3.15
before 8.40-r2
8.40-r2
pcre
Alpine:v3.16
before 8.40-r2
8.40-r2
pcre
Alpine:v3.17
before 8.40-r2
8.40-r2
pcre
Alpine:v3.18
before 8.40-r2
8.40-r2
pcre
Alpine:v3.19
before 8.40-r2
8.40-r2
Show 49 moreShow less
Affected packages
PackageAffectedFixed
pcre
Alpine:v3.20
before 8.40-r2
8.40-r2
pcre
Alpine:v3.21
before 8.40-r2
8.40-r2
pcre
Alpine:v3.22
before 8.40-r2
8.40-r2
pcre
Alpine:v3.23
before 8.40-r2
8.40-r2
pcre
Alpine:v3.24
before 8.40-r2
8.40-r2
pcre
Alpine:v3.6
before 8.40-r2
8.40-r2
pcre
Alpine:v3.7
before 8.40-r2
8.40-r2
pcre
Alpine:v3.8
before 8.40-r2
8.40-r2
pcre
Alpine:v3.9
before 8.40-r2
8.40-r2
pcre2
Debian:12
before 10.22-3
10.22-3
pcre2
Debian:13
before 10.22-3
10.22-3
pcre2
Debian:14
before 10.22-3
10.22-3
pcre3
Debian:12
before 2:8.39-3
2:8.39-3
pcre
Mageia:5
before 8.41-1.mga5
8.41-1.mga5
pcre
Mageia:6
before 8.41-1.mga6
8.41-1.mga6
pcre
SUSE:HPE Helion OpenStack 8
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:HPE Helion OpenStack 8
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:OpenStack Cloud 8
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:OpenStack Cloud 8
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:OpenStack Cloud 9
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:OpenStack Cloud 9
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:OpenStack Cloud Crowbar 8
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:OpenStack Cloud Crowbar 8
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:OpenStack Cloud Crowbar 9
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:OpenStack Cloud Crowbar 9
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise High Availability Extension 12 SP3
before 8.45-8.7.1
8.45-8.7.1
pcre
SUSE:Linux Enterprise High Availability Extension 12 SP4
before 8.45-8.7.1
8.45-8.7.1
pcre
SUSE:Linux Enterprise High Availability Extension 12 SP5
before 8.45-8.7.1
8.45-8.7.1
pcre
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server 12 SP2-BCL
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server 12 SP2-BCL
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server 12 SP3-BCL
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server 12 SP3-BCL
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server 12 SP5
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server 12 SP5
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 8.45-8.7.1
8.45-8.7.1
selinux-policy
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 20140730-36.5.2
20140730-36.5.2
pcre
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 8.45-8.7.1
8.45-8.7.1
pcre3
Ubuntu: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
pcre2
Ubuntu: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

History
RecordedChangedSources
affected, factsOSV
aliasesEUVD
first indexedCVE 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

Show 35 moreShow less
MoveEnter Open