CVE-2017-8786
published 2017-05-05CVE-2017-8786: pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a…
PriorityP345critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
4.07%
89.5th percentile
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pcre2 | < pcre2 10.31-1 (bookworm) | pcre2 10.31-1 (bookworm) |
| pcre | pcre2 | — | — |
| pcre | pcre2 | >= 0 < 10.31-1 | 10.31-1 |
| pcre | pcre2 | >= 0 < 10.31-1 | 10.31-1 |
| pcre | pcre2 | >= 0 < 10.31-1 | 10.31-1 |
| pcre | pcre2 | >= 0 < 10.31-1 | 10.31-1 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
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.
Red Hat
pcre2: Heap-based buffer overflow in pcre2test.c
vendor_redhat·2017-03-21·CVSS 9.8
CVE-2017-8786 [CRITICAL] CWE-122 pcre2: Heap-based buffer overflow in pcre2test.c
pcre2: Heap-based buffer overflow in pcre2test.c
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
Package: pcre2 (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-8786: pcre2 - pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service ...
vendor_debian·2017·CVSS 9.8
CVE-2017-8786 [CRITICAL] CVE-2017-8786: pcre2 - pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service ...
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
Scope: local
bookworm: resolved (fixed in 10.31-1)
bullseye: resolved (fixed in 10.31-1)
forky: resolved (fixed in 10.31-1)
sid: resolved (fixed in 10.31-1)
trixie: resolved (fixed in 10.31-1)
GHSA
GHSA-5w9f-5949-m2r9: pcre2test
ghsa_unreviewed·2022-05-17
CVE-2017-8786 [CRITICAL] CWE-119 GHSA-5w9f-5949-m2r9: pcre2test
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
OSV
CVE-2017-8786: pcre2test
osv·2017-05-05·CVSS 9.8
CVE-2017-8786 [CRITICAL] CVE-2017-8786: pcre2test
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-8786 mingw-pcre2: pcre2: Heap-based buffer overflow in pcre2test.c [fedora-26]
bugzilla·2017-10-11·CVSS 9.8
CVE-2017-8786 [CRITICAL] CVE-2017-8786 mingw-pcre2: pcre2: Heap-based buffer overflow in pcre2test.c [fedora-26]
CVE-2017-8786 mingw-pcre2: pcre2: Heap-based buffer overflow in pcre2test.c [fedora-26]
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-26.
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 template to
Bugzilla
CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c [epel-6]
bugzilla·2017-10-11·CVSS 9.8
CVE-2017-8786 [CRITICAL] CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c [epel-6]
CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c [epel-6]
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-6.
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 template to for the 'fedpkg upd
Bugzilla
CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c
bugzilla·2017-10-11·CVSS 9.8
CVE-2017-8786 [CRITICAL] CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c
CVE-2017-8786 pcre2: Heap-based buffer overflow in pcre2test.c
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression.
Upstream issue:
https://bugs.exim.org/show_bug.cgi?id=2079
Upstream patches:
https://vcs.pcre.org/pcre2?view=revision&revision=696
https://vcs.pcre.org/pcre2?view=revision&revision=697
References:
https://blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/
Discussion:
Created mingw-pcre2 tracking bugs for this issue:
Affects: fedora-26 [bug 1500718]
Created pcre2 tracking bugs for this issue:
Affects: epel-6 [bug 1500719]
https://blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/https://bugs.exim.org/show_bug.cgi?id=2079https://security.gentoo.org/glsa/201710-09https://vcs.pcre.org/pcre2?view=revision&revision=696https://vcs.pcre.org/pcre2?view=revision&revision=697https://blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/https://bugs.exim.org/show_bug.cgi?id=2079https://security.gentoo.org/glsa/201710-09https://vcs.pcre.org/pcre2?view=revision&revision=696https://vcs.pcre.org/pcre2?view=revision&revision=697
2017-05-05
Published