CVE-2026-86145: CWE-424 Improper Protection of Alternate Path in PCRE PCRE2
Description
CVE-2026-86145 is a high-severity vulnerability in PCRE2 versions 10.32 up to but not including 10.48. It involves an out-of-bounds write in the pcre2_dfa_match function due to improper size checking when reusing a cached workspace block during recursive DFA matching. Exploitation requires an attacker-controlled regular expression or a recursive pattern combined with a small heap limit set via the API.
CVSS v3.1
Score 8.2high
Affected software
PCRE
PCRE2
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PCRE2 before version 10.48 contains a vulnerability (CWE-424) where the reuse of a cached workspace block in the recursive DFA matching workspace lacks a size check, unlike newly allocated blocks which have this check. This flaw can lead to an out-of-bounds write in the pcre2_dfa_match function. Successful exploitation requires an attacker to supply a crafted regular expression or recursive pattern and manipulate the heap limit through the API to trigger the condition.
Potential Impact
The vulnerability allows an attacker to cause an out-of-bounds write, which can lead to arbitrary code execution or application instability. The CVSS score of 8.2 reflects a high impact on integrity with limited impact on availability and no impact on confidentiality. The attack vector is network-based with low attack complexity and no required privileges or user interaction.
Mitigation Recommendations
No explicit patch or remediation details are provided in the vendor advisory or patch links. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing attacker-controlled recursive regular expressions with small heap limits in affected PCRE2 versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-09-05T05:09:25.213Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9bf6b4acd9273b49bd4638
Added to database: 09/05/2026, 11:02:12 UTC
Last enriched: 09/15/2026, 00:50:22 UTC
Last updated: 10/20/2026, 18:48:24 UTC
Views: 106
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.