Skip to content
Fencer Intel
high 8.2

CVE-2026-86145 json

PCRE2: out-of-bounds write in pcre2_dfa_match() with recursive patterns under a low heap limit

published 2mo ago modified 2mo ago also EUVD-2026-71836 , GHSA-3r4p-g7gg-ppmf

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository PCRE2Project/pcre2. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.

cvss
8.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 37%
public exploits
0
none known

Summary

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).

Patch / fix

  • PCRE PCRE2 10.48
  • pcre2 Debian 12 10.42-1+deb12u1
  • pcre2 Debian 13 10.46-1~deb13u2
  • pcre2 Debian 14 10.48-1

debian advisories DEBIAN-CVE-2026-86145

  • pcre2 Ubuntu 22.04 LTS 10.39-3ubuntu0.2
  • pcre2 Ubuntu 24.04 LTS 10.42-4ubuntu2.2
  • pcre2 Ubuntu 26.10 10.46-1ubuntu1
  • pcre2 Ubuntu 26.04 LTS 10.46-1ubuntu0.1
  • pcre2 Ubuntu Pro 20.04 LTS 10.34-7ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2026-86145

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mariadb11.8 RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-pam RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-test RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-backup RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-common RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-errmsg RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-server RHEL 10.2 3:11.8.8-2.el10_2
  • mariadb11.8-embedded RHEL 10.2 3:11.8.8-2.el10_2

red hat advisories RHSA-2026:84799RHSA-2026:82875RHSA-2026:82876RHSA-2026:82845RHSA-2026:81613RHSA-2026:81532

  • pcre2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +8 more 10.39-150400.4.12.1
  • pcre2 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 10.45-160000.4.1
  • pcre2 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 10.42-150600.3.3.1
  • pcre2 Linux Micro 6.1 10.42-slfo.1.1_2.1
  • pcre2 Linux Micro 6.0 10.42-3.1
  • pcre2 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 10.34-1.16.1

suse advisories SUSE-SU-2026:4458-1SUSE-SU-2026:23891-1SUSE-SU-2026:23906-1SUSE-SU-2026:4241-1SUSE-SU-2026:4201-1SUSE-SU-2026:23740-1

  • pcre2 openSUSE Leap 16.0 10.45-160000.4.1

opensuse advisories openSUSE-SU-2026:21938-1

  • mariadb11.8 AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-pam AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-test AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-backup AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-common AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-errmsg AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-server AlmaLinux 10 3:11.8.8-2.el10_2.alma.2
  • mariadb11.8-embedded AlmaLinux 10 3:11.8.8-2.el10_2.alma.2

almalinux advisories ALSA-2026:84799ALSA-2026:81522ALSA-2026:81532ALSA-2026:81613

  • mariadb11.8 Rocky Linux 10 3:11.8.8-2.el10_2
  • pcre2 Rocky Linux 10 10.44-1.5.el10_2
  • pcre2 Rocky Linux 9 10.40-7.el9_8
  • pcre2 Rocky Linux 8 10.32-4.el8_10

rocky linux advisories RLSA-2026:84799RLSA-2026:81522RLSA-2026:81532RLSA-2026:81613

  • pcre2 Alpine 3.21 10.43-r1
  • pcre2 Alpine 3.22 10.46-r1
  • pcre2 Alpine 3.24, Alpine 3.23 10.48-r0

alpine advisories ALPINE-CVE-2026-86145

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • pcre2 Azure Linux 3.0 10.48-1

azure linux advisories AZL-99726

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2026-86145 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-86145 updated cvss 8.2

pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions

  • Red Hat Enterprise Linux 9 mariadb, mariadb-pam, mariadb-test, mingw32-pcre2, mingw64-pcre2, mariadb-backup, +8 more
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 10 mingw-pcre2, mingw32-pcre2, mingw64-pcre2 Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
    affected: workaround, no fix available
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9
    under investigation
  • Red Hat Cost Management 4 costmanagement/costmanagement-metrics-rhel9-operator 1793202662
    fixed: vendor fix RHSA-2026:95264
  • Red Hat CodeReady Linux Builder EUS (v.9.6) pcre2-tools 10.40-6.el9_6.1
    fixed: vendor fix RHSA-2026:82845
  • Red Hat Enterprise Linux AppStream (v. 9) pcre2-utf16 10.40-7.el9_8, pcre2-utf32 10.40-7.el9_8
    fixed: vendor fix RHSA-2026:81532
  • Red Hat Enterprise Linux AppStream (v. 10) mariadb11.8 11.8.8-2.el10_2, pcre2-utf16 10.44-1.5.el10_2, pcre2-utf32 10.44-1.5.el10_2, mariadb11.8-pam 11.8.8-2.el10_2, mariadb11.8-test 11.8.8-2.el10_2, mariadb11.8-backup 11.8.8-2.el10_2, +9 more
    fixed: vendor fix RHSA-2026:84799
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) pcre2-utf16 10.40-2.el9_2.1, pcre2-utf32 10.40-2.el9_2.1
    fixed: vendor fix RHSA-2026:82876
show 30 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) pcre2-utf16 10.40-5.el9_4.1, pcre2-utf32 10.40-5.el9_4.1
    fixed: vendor fix RHSA-2026:82875
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) pcre2-utf16 10.44-1.4.el10_0, pcre2-utf32 10.44-1.4.el10_0
    fixed: vendor fix RHSA-2026:86205
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) pcre2-utf16 10.40-6.el9_6.1, pcre2-utf32 10.40-6.el9_6.1
    fixed: vendor fix RHSA-2026:82845
  • Red Hat Enterprise Linux BaseOS (v. 8) pcre2 10.32-4.el8_10, pcre2-utf16 10.32-4.el8_10, pcre2-utf32 10.32-4.el8_10
    fixed: vendor fix RHSA-2026:81613
  • Red Hat Enterprise Linux BaseOS (v. 9) pcre2 10.40-7.el9_8, pcre2-syntax 10.40-7.el9_8
    fixed: vendor fix RHSA-2026:81532
  • Red Hat Enterprise Linux BaseOS (v. 10) pcre2 10.44-1.5.el10_2, pcre2-syntax 10.44-1.5.el10_2
    fixed: vendor fix RHSA-2026:81522
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) pcre2 10.32-2.el8_4.1, pcre2-utf16 10.32-2.el8_4.1, pcre2-utf32 10.32-2.el8_4.1
    fixed: vendor fix RHSA-2026:92901
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) pcre2 10.32-3.el8_6.1, pcre2-utf16 10.32-3.el8_6.1, pcre2-utf32 10.32-3.el8_6.1
    fixed: vendor fix RHSA-2026:92899
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) pcre2 10.32-3.el8_8.2, pcre2-utf16 10.32-3.el8_8.2, pcre2-utf32 10.32-3.el8_8.2
    fixed: vendor fix RHSA-2026:86206
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) pcre2 10.40-2.el9_2.1, pcre2-syntax 10.40-2.el9_2.1
    fixed: vendor fix RHSA-2026:82876
  • Red Hat Enterprise Linux BaseOS E4S (v.9.4) pcre2 10.40-5.el9_4.1, pcre2-syntax 10.40-5.el9_4.1
    fixed: vendor fix RHSA-2026:82875
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) pcre2 10.44-1.4.el10_0, pcre2-syntax 10.44-1.4.el10_0
    fixed: vendor fix RHSA-2026:86205
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) pcre2 10.40-6.el9_6.1, pcre2-syntax 10.40-6.el9_6.1
    fixed: vendor fix RHSA-2026:82845
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) pcre2 10.32-2.el8_4.1, pcre2-utf16 10.32-2.el8_4.1, pcre2-utf32 10.32-2.el8_4.1
    fixed: vendor fix RHSA-2026:92901
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) pcre2 10.32-3.el8_6.1, pcre2-utf16 10.32-3.el8_6.1, pcre2-utf32 10.32-3.el8_6.1
    fixed: vendor fix RHSA-2026:92899
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) pcre2 10.32-3.el8_8.2, pcre2-utf16 10.32-3.el8_8.2, pcre2-utf32 10.32-3.el8_8.2
    fixed: vendor fix RHSA-2026:86206
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) pcre2-tools 10.40-7.el9_8
    fixed: vendor fix RHSA-2026:81532
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) pcre2-tools 10.44-1.5.el10_2
    fixed: vendor fix RHSA-2026:81522
  • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) pcre2-tools 10.44-1.4.el10_0
    fixed: vendor fix RHSA-2026:86205
  • Red Hat Enterprise Linux CRB (v. 8) pcre2-tools 10.32-4.el8_10
    fixed: vendor fix RHSA-2026:81613
  • Red Hat Hardened Images pcre2 10.48-0.1.hum1, pcre2-tools 10.48-0.1.hum1, pcre2-utf16 10.48-0.1.hum1, pcre2-utf32 10.48-0.1.hum1, pcre2-syntax 10.48-0.1.hum1
    fixed: vendor fix RHSA-2026:67534
  • Red Hat OpenShift AI 3.0 rhai/base-image-cpu-rhel9 1793042072, rhai/base-image-cpu-rhel9 1793329709, rhai/base-image-tpu-rhel9 1793041987, rhai/base-image-cuda-rhel9 1793042067, rhai/base-image-cuda-rhel9 1793328358, rhai/base-image-rocm-rhel9 1793041981, +1 more
    fixed: vendor fix RHSA-2026:94459
  • Red Hat OpenShift AI 3.4 rhai/base-image-cpu-rhel9 1793042088, rhai/base-image-tpu-rhel9 1793042006, rhai/base-image-gaudi-rhel9 1793042011, rhai/base-image-spyre-rhel9 1793042074, rhai/base-image-neuron-rhel9 1793042008, rhai/base-image-rocm-6.4-rhel9 1793041995, +4 more
    fixed: vendor fix RHSA-2026:91241
  • Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1793042162, rhai/base-image-tpu-rhel9 1793042010, rhai/base-image-gaudi-rhel9 1793042004, rhai/base-image-rubin-rhel9 1793042092, rhai/base-image-spyre-rhel9 1793042114, rhai/base-image-neuron-rhel9 1793042008, +4 more
    fixed: vendor fix RHSA-2026:91204
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202611041925
    fixed: vendor fix RHSA-2026:95745
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202610242240
    fixed: vendor fix RHSA-2026:89838
  • Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202611051005
    fixed: vendor fix RHSA-2026:95755
  • Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202611031928
    fixed: vendor fix RHSA-2026:95229
  • Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202611061051
    fixed: vendor fix RHSA-2026:96282
  • Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202610242013
    fixed: vendor fix RHSA-2026:89725

5 more fixed, 9 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2mo ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Affected products

  • PCRE PCRE2

Classification

Weakness
  • CWE-424 Improper Protection of Alternate Path

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of PCRE2Project/pcre2 published their own advisory on GitHub. Reviewed sources take precedence over it.