# CVE-2017-8399

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 10.30 (CNA); fix release not confirmed
- Status: published
- Published: 2017-05-01 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-8399
- Record: https://cvemate.com/vulnerability/CVE-2017-8399 · JSON: https://cvemate.com/vulnerability/CVE-2017-8399/json

## Description

```text
PCRE2 before 10.30 has an out-of-bounds write caused by a stack-based buffer overflow in pcre2_match.c, related to a "pattern with very many captures."
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.118%, percentile 88.231%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu pcre2 (Ubuntu): \< 10.21-1 \| \< 10.31-2
- pcre pcre2: \< 10.30

## References

- <https://security.gentoo.org/glsa/201710-09>
- <https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/ChangeLog?revision=854&view=markup>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=783>
- <https://vcs.pcre.org/pcre2?view=revision&revision=674>
- <http://www.securityfocus.com/bid/98315>
- <https://ubuntu.com/security/CVE-2017-8399>
- <https://www.cve.org/CVERecord?id=CVE-2017-8399>

---

Data as of 2026-12-05T13:05:13.534Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
