Out-of-Bounds Write Vulnerability in PCRE2 Library by PCRE2 Project
CVE-2026-86145

8.2HIGH

Key Information:

Vendor

Pcre

Status
Vendor
CVE Published:
5 September 2026

What is CVE-2026-86145?

The PCRE2 library prior to version 10.48 is vulnerable to an out-of-bounds write when utilizing the pcre2_dfa_match function. This occurs due to the improper handling of cached workspace blocks during recursive DFA matching, leading to potential exploitation through an attacker-controlled regular expression. To successfully exploit this vulnerability, an attacker must leverage a recursive pattern in combination with a constrained heap limit, which can be specified through the API. Proper size checks are missing for reused cached blocks, creating a security risk that can compromise the integrity of applications utilizing it.

Affected Version(s)

PCRE2 10.32 < 10.48

References

CVSS V3.1

Score:
8.2
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.