CVE-2017-6004
published 2017-02-16CVE-2017-6004: 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…
PriorityP434high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
4.55%
90.5th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pcre3 | < pcre3 2:8.39-2.1 (bookworm) | pcre3 2:8.39-2.1 (bookworm) |
| pcre | pcre | <= 8.38 | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
PCRE vulnerabilities
vendor_ubuntu·2022-10-10·CVSS 7.5
CVE-2017-7186 [HIGH] PCRE vulnerabilities
Title: PCRE vulnerabilities
Summary: PCRE could be made to crash if it received specially crafted
input.
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)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
vendor_redhat·2017-02-14·CVSS 7.5
CVE-2017-6004 [HIGH] CWE-125 pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
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.
Package: pcre (Red Hat Directory Server 8) - Not affected
Package: pcre (Red Hat Enterprise Linux 5) - Not affected
Package: glib2 (Red Hat Enterprise Linux 6) - Not affected
Package: pcre (Red Hat Enterprise Linux 6) - Not affected
Package: glib2 (Red Hat Enterprise Linux 7) - Not affected
Package: pcre (Red Hat Enterprise Linux 7) - Will not fix
Package: virtuoso-opensource (Red Hat Enterprise Linux 7) - Not affected
Package: httpd (Red
Debian
CVE-2017-6004: pcre3 - The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through ...
vendor_debian·2017·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004: pcre3 - The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through ...
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.
Scope: local
bookworm: resolved (fixed in 2:8.39-2.1)
bullseye: resolved (fixed in 2:8.39-2.1)
OSV
pcre3 vulnerabilities
osv·2022-10-10·CVSS 7.5
CVE-2017-6004 [HIGH] pcre3 vulnerabilities
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)
GHSA
GHSA-59rh-53qm-wcv4: The compile_bracket_matchingpath function in pcre_jit_compile
ghsa_unreviewed·2022-05-13
CVE-2017-6004 [HIGH] CWE-125 GHSA-59rh-53qm-wcv4: The compile_bracket_matchingpath function in pcre_jit_compile
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.
OSV
CVE-2017-6004: The compile_bracket_matchingpath function in pcre_jit_compile
osv·2017-02-16·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004: The compile_bracket_matchingpath function in pcre_jit_compile
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
Bugzilla
CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
CVE-2017-6004 pcre: Out-of-bounds read in compile_bracket_matchingpath function (8.41/3)
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.
Upstream patch:
https://vcs.pcre.org/pcre?view=revision&revision=1680
Upstream bug:
https://bugs.exim.org/show_bug.cgi?id=2035
Discussion:
Created glib2 tracking bugs for this issue:
Affects: fedora-all [bug 1425394]
Created mingw-glib2 tracking bugs for this issue:
Affects: epel-7 [bug 1425392]
Affects: fedora-all [bug 1425396]
Created mingw-pcre tracking bugs for this issue:
Affects: epel-7 [bug 1425393]
Affects: fedor
Bugzilla
CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following t
Bugzilla
CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following te
Bugzilla
CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
CVE-2017-6004 mingw-glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
CVE-2017-6004 mingw-pcre: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2017-6004 glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
bugzilla·2017-02-21·CVSS 7.5
CVE-2017-6004 [HIGH] CVE-2017-6004 glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
CVE-2017-6004 glib2: pcre: Out-of-bounds read in compile_bracket_matchingpath function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multi
http://www.securityfocus.com/bid/96295http://www.securitytracker.com/id/1037850https://access.redhat.com/errata/RHSA-2018:2486https://bugs.exim.org/show_bug.cgi?id=2035https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://security.gentoo.org/glsa/201706-11https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patchhttp://www.securityfocus.com/bid/96295http://www.securitytracker.com/id/1037850https://access.redhat.com/errata/RHSA-2018:2486https://bugs.exim.org/show_bug.cgi?id=2035https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://security.gentoo.org/glsa/201706-11https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
2017-02-16
Published