CVE-2017-8786 json
pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified o…
published 2017-05-05 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-17729
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pcre2 Debian 14, Debian 13, Debian 12 10.31-1
debian advisories DEBIAN-CVE-2017-8786
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-8786 updated cvss 3.3
pcre2: Heap-based buffer overflow in pcre2test.c
-
Red Hat Enterprise Linux 7 pcre2, pcre2-tools, pcre2-utf16, pcre2-utf32affected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.07% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blogs.gentoo.org https://blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/ referenced PoC, tagged "exploit" by a source, unverified
- bugs.exim.org https://bugs.exim.org/show_bug.cgi?id=2079 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
vcs.pcre.org
/pcre2?view=revision&revision=697
patch, vendor-advisory
-
vcs.pcre.org
/pcre2?view=revision&revision=696
patch, vendor-advisory
-
blogs.gentoo.org
/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/
exploit, patch, third-party-advisory, vdb-entry
-
bugs.exim.org
/show_bug.cgi?id=2079
exploit, issue-tracking, third-party-advisory, vdb-entry
-
security.gentoo.org
/glsa/201710-09
vendor-advisory
Sources
- CVE List CVE-2017-8786
- NVD CVE-2017-8786
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.