CVE-2026-86145
published 2026-09-05CVE-2026-86145: 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…
PriorityP346high8.2CVSS 3.1
AVNACLPRNUINSUCNIHAL
EPSS
0.43%
36.4th percentile
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).
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mariadb_10.11 | mariadb | — | — |
| mariadb_11.8 | mariadb | — | — |
| openshift | ose-rhel-coreos-8 | — | — |
| openshift | ose-rhel-coreos-9 | — | — |
| pcre | pcre2 | — | — |
| pcre | pcre2 | >= 10.32 < 10.48 | 10.48 |
CVSS provenance
nvdv3.18.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
vendor_redhat8.2HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
vendor_redhat·2026-09-05·CVSS 8.2
CVE-2026-86145 [HIGH] CWE-787 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
A flaw was found in PCRE2. An out-of-bounds write vulnerability exists in the `pcre2_dfa_match` function due to improper size checking when reusing cached workspace blocks. A remote attacker could exploit this by providing a specially crafted regular expression or a recursive pattern in conjunction with a small heap limit. This could lead to data corruption or potentially arbitrary code execution, compromising the integrity and availability of the system.
Statement: Important: An out-of-bounds write vulnerability in the PCRE2 library, specifically within the `pcre2_dfa_match` function, could allow arbitrary code execution. This flaw is exploitable in Red Hat products when processing attacker
VulDB
PCRE PCRE2 up to 10.47 Recursive DFA Matching Workspace pcre2_dfa_match out-of-bounds write (Nessus ID 343097)
vuldb·2026-09-05·CVSS 8.2
CVE-2026-86145 [HIGH] PCRE PCRE2 up to 10.47 Recursive DFA Matching Workspace pcre2_dfa_match out-of-bounds write (Nessus ID 343097)
A vulnerability was found in PCRE PCRE2 up to 10.47. It has been classified as critical. This vulnerability affects the function pcre2_dfa_match of the component Recursive DFA Matching Workspace. The manipulation leads to out-of-bounds write.
This vulnerability is referenced as CVE-2026-86145. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is recommended.
GHSA
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 bloc
ghsa_unreviewed·2026-09-05
CVE-2026-86145 [HIGH] CWE-424 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 bloc
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).
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-86145 mingw-pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
bugzilla·2026-09-11·CVSS 8.2
CVE-2026-86145 [HIGH] CVE-2026-86145 mingw-pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
CVE-2026-86145 mingw-pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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).
Bugzilla
CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
bugzilla·2026-09-11·CVSS 8.2
CVE-2026-86145 [HIGH] CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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).
Bugzilla
CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
bugzilla·2026-09-05·CVSS 8.2
CVE-2026-86145 [HIGH] CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
CVE-2026-86145 pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions
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).
2026-09-05
Published