cve.bz

CVE-2026-86145 pcre pcre2: Improper Protection of Alternate Path

8.2 highEPSS 0.4%

High (8.2) in pcre pcre2. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-424 Improper Protection of Alternate Path
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-86145 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86145?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86145?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86145 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PCRE2from 10.32 before 10.48

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pcre210.42-1+deb12u1DEBIAN-CVE-2026-86145 DLA-4772-1
Debian13pcre210.46-1~deb13u2DEBIAN-CVE-2026-86145
Debian14pcre210.48-1DEBIAN-CVE-2026-86145
Ubuntu22.04:LTSpcre210.39-3ubuntu0.2UBUNTU-CVE-2026-86145 USN-8974-1
Ubuntu24.04:LTSpcre210.42-4ubuntu2.2UBUNTU-CVE-2026-86145 USN-8974-1
Ubuntu26.04:LTSpcre210.46-1ubuntu0.1UBUNTU-CVE-2026-86145 USN-8974-1
Ubuntu26.10pcre210.46-1ubuntu1UBUNTU-CVE-2026-86145 USN-8974-1
UbuntuPro:16.04:LTSpcre210.21-1ubuntu0.1~esm1USN-8974-1
UbuntuPro:18.04:LTSpcre210.31-2ubuntu0.1~esm2USN-8974-1
UbuntuPro:20.04:LTSpcre210.34-7ubuntu0.1+esm1UBUNTU-CVE-2026-86145 USN-8974-1
Red Hatenterprise_linux:8::baseospcre2, pcre2-devel, pcre2-utf16 and 6 more0:10.32-4.el8_10RHSA-2026:81613
Red Hatenterprise_linux:8::crbpcre2-tools, pcre2-debuginfo, pcre2-debugsource and 3 more0:10.32-4.el8_10RHSA-2026:81613
Red Hatenterprise_linux:9::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.23-1.module+el9.9.0+25321+ead5f6b6RHSA-2026:102830
Red Hatenterprise_linux:9::appstreammariadb, mariadb-pam, mariadb-test and 22 more3:11.8.9-2.module+el9.9.0+25321+ead5f6b6RHSA-2026:102830
Red Hatenterprise_linux:9::appstreampcre2-devel, pcre2-utf16, pcre2-utf32 and 5 more0:10.40-7.el9_8RHSA-2026:81532
Red Hatenterprise_linux:9::baseospcre2, pcre2-syntax, pcre2-debuginfo and 4 more0:10.40-7.el9_8RHSA-2026:81532
Red Hatenterprise_linux:9::crbpcre2-tools, pcre2-debuginfo, pcre2-debugsource and 3 more0:10.40-7.el9_8RHSA-2026:81532
Red Hatenterprise_linux:10.2mariadb11.8, mariadb11.8-pam, mariadb11.8-test and 22 more3:11.8.8-2.el10_2RHSA-2026:84799
Red Hatenterprise_linux:10.2pcre2, pcre2-devel, pcre2-tools and 9 more0:10.44-1.5.el10_2RHSA-2026:81522
Red Hatenterprise_linux_eus:10.0pcre2, pcre2-devel, pcre2-tools and 9 more0:10.44-1.4.el10_0RHSA-2026:86205
Red Hathummingbird:1pcre2, pcre2-devel, pcre2-tools and 4 more0:10.48-0.1.hum1RHSA-2026:67534
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseospcre2, pcre2-devel, pcre2-utf16 and 6 more0:10.32-2.el8_4.1RHSA-2026:92901
11 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepcre210.39-150400.4.12.1SUSE-SU-2026:4458-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6pcre210.42-150600.3.3.1SUSE-SU-2026:4241-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5pcre210.34-1.16.1SUSE-SU-2026:4201-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0pcre210.45-160000.4.1SUSE-SU-2026:23906-1
SUSELinux Micro 6.0pcre210.42-3.1SUSE-SU-2026:23840-1
SUSELinux Micro 6.1pcre210.42-slfo.1.1_2.1SUSE-SU-2026:23740-1
SUSELinux Micro 6.2pcre210.45-160000.4.1SUSE-SU-2026:23891-1
openSUSELeap 16.0pcre210.45-160000.4.1openSUSE-SU-2026:21938-1
AlmaLinux8pcre2, pcre2-devel, pcre2-tools and 2 more10.32-4.el8_10ALSA-2026:81613
AlmaLinux9pcre2, pcre2-devel, pcre2-tools and 3 more10.40-7.el9_8ALSA-2026:81532
AlmaLinux10mariadb11.8-common, mariadb11.8-errmsg, mariadb11.8-client-utils and 1 more3:11.8.8-2.el10_2.alma.2ALSA-2026:84799
AlmaLinux10pcre2-syntax10.44-1.5.el10_2ALSA-2026:81522
Rocky Linux8pcre20:10.32-4.el8_10RLSA-2026:81613
Rocky Linux9mariadb, mariadb-pam, mariadb-test and 22 more3:11.8.9-2.module+el9.9.0+40502+2dfc0c0bRLSA-2026:102830
Rocky Linux9pcre20:10.40-7.el9_8RLSA-2026:81532
Rocky Linux10mariadb11.83:11.8.8-2.el10_2RLSA-2026:84799
Rocky Linux10pcre20:10.44-1.5.el10_2RLSA-2026:81522
Alpinev3.21pcre210.43-r1ALPINE-CVE-2026-86145
Alpinev3.22pcre210.46-r1ALPINE-CVE-2026-86145
Alpinev3.23, v3.24pcre210.48-r0ALPINE-CVE-2026-86145
Azure Linux3pcre210.48-1AZL-99726
Alpaquita25, streampcre210.48-r0BELL-CVE-2026-86145
BellSoft Hardened Containers25, streampcre210.48-r0BELL-CVE-2026-86145

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's 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-controlled regular expressions or when a recursive pattern is used in conjunction with a small, API-set heap limit, making it dependent on specific application usage patterns.

Red Hat's mitigation

To mitigate this Improper Protection of Alternate Path vulnerability, ensure that secondary execution branches—such as the reuse of cached memory workspaces—enforce the exact same size and boundary checks as the primary memory allocation paths. Limit exposure by preventing untrusted user input from directly controlling PCRE2 regular expressions, and strictly avoid utilizing recursive matching patterns when operating under a low heap limit. Apply a defense-in-depth strategy by validating all inputs comprehensively.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10pcre2-0:10.44-1.5.el10_2Fixed 2026-10-12RHSA-2026:81522
Red Hat Enterprise Linux 10mariadb11.8-3:11.8.8-2.el10_2Fixed 2026-10-19RHSA-2026:84799
Red Hat Enterprise Linux 10.0 Extended Update Supportpcre2-0:10.44-1.4.el10_0Fixed 2026-10-20RHSA-2026:86205
Red Hat Enterprise Linux 8pcre2-0:10.32-4.el8_10Fixed 2026-10-13RHSA-2026:81613
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpcre2-0:10.32-2.el8_4.1Fixed 2026-10-29RHSA-2026:92901
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpcre2-0:10.32-2.el8_4.1Fixed 2026-10-29RHSA-2026:92901
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpcre2-0:10.32-3.el8_6.1Fixed 2026-10-29RHSA-2026:92899
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onpcre2-0:10.32-3.el8_6.1Fixed 2026-10-29RHSA-2026:92899
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepcre2-0:10.32-3.el8_8.2Fixed 2026-10-20RHSA-2026:86206
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspcre2-0:10.32-3.el8_8.2Fixed 2026-10-20RHSA-2026:86206
Red Hat Enterprise Linux 10bootcNot affected
Red Hat Enterprise Linux 10mariadb10.11Not affected
Red Hat Enterprise Linux 10mingw-pcre2Affected
Red Hat Enterprise Linux 7pcre2Not affected
Red Hat Enterprise Linux 8mariadb:10.11/mariadbNot affected
Red Hat Enterprise Linux 9bootcNot affected
Red Hat Enterprise Linux 9mariadb:10.11/mariadbNot affected
Red Hat Enterprise Linux 9mingw-pcre2Will not fix
Red Hat Hardened ImagesrustNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Affected
56 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-86145.

Attack patterns (CAPEC)

  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium
  • CAPEC-554 Functionality Bypass Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON