CVE-2017-8786
pcre2: Heap-based buffer overflow in pcre2test.c
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low).
Description
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | pcre2 | 10.31-1 |
| debian 12 | pcre2 | 10.31-1 |
| debian 13 | pcre2 | 10.31-1 |
| debian 14 | pcre2 | 10.31-1 |
| echo | pcre2 | 10.31-1 |
| Red Hat | pcre2, pcre2-devel, pcre2-static and 3 more | no fix listed |
Show all 11 entries from 6 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | pcre2 | 10.31-1 |
| debian 12 | pcre2 | 10.31-1 |
| debian 13 | pcre2 | 10.31-1 |
| debian 14 | pcre2 | 10.31-1 |
| echo | pcre2 | 10.31-1 |
| Red Hat | pcre2 | no fix listed |
| Red Hat | pcre2-devel | no fix listed |
| Red Hat | pcre2-static | no fix listed |
| Red Hat | pcre2-tools | no fix listed |
| Red Hat | pcre2-utf16 | no fix listed |
| Red Hat | pcre2-utf32 | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2017-8786
- 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=2079
- https://nvd.nist.gov/vuln/detail/CVE-2017-8786
- https://security.gentoo.org/glsa/201710-09
- https://vcs.pcre.org/pcre2?view=revision&revision=696
- https://vcs.pcre.org/pcre2?view=revision&revision=697
- https://www.cve.org/CVERecord?id=CVE-2017-8786