# CVE-2026-86145: PCRE2 before 10.48 allows a pcre2dfamatch out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching worksp…

- Severity: High 8.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-02)
- Published: 2026-09-05T05:09:25.571Z
- Modified: 2026-09-09T16:04:24.933Z
- Weaknesses: CWE-424
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).

(As written by CVE List.)

## Affected

- PCRE PCRE2: from 10.32 before 10.48

## References

- <https://github.com/PCRE2Project/pcre2/security/advisories/GHSA-3r4p-g7gg-ppmf>
- <https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.48>
- <http://www.openwall.com/lists/oss-security/2026/09/05/3>

## Sources

- CVE List: [CVE-2026-86145](https://www.cve.org/CVERecord?id=CVE-2026-86145), CVE Terms of Use, modified 2026-09-08
- NVD: [CVE-2026-86145](https://nvd.nist.gov/vuln/detail/CVE-2026-86145), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-86145 · Whole record: https://cve.day/CVE-2026-86145.json · Rebuilt by cve.day 2026-11-25T22:59:36.427Z
