cve.bz

CVE-2026-89161 pcre pcre2: Free of Memory not on the Heap

7.8 highEPSS 0.2%Fix available

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

On this page
In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-11. 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-590 Free of Memory not on the Heap
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-89161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-89161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-89161?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-89161 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
PCRE2before 10.48

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pcre210.42-1+deb12u1DEBIAN-CVE-2026-89161 DLA-4772-1
Debian13pcre210.46-1~deb13u2DEBIAN-CVE-2026-89161
Debian14pcre210.48-1DEBIAN-CVE-2026-89161
Ubuntu22.04:LTSpcre210.39-3ubuntu0.2UBUNTU-CVE-2026-89161 USN-8974-1
Ubuntu24.04:LTSpcre210.42-4ubuntu2.2UBUNTU-CVE-2026-89161 USN-8974-1
Ubuntu26.04:LTSpcre210.46-1ubuntu0.1UBUNTU-CVE-2026-89161 USN-8974-1
Ubuntu26.10pcre210.46-1ubuntu1UBUNTU-CVE-2026-89161 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-89161 USN-8974-1
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_e4s:9.2::appstreampcre2-devel, pcre2-utf16, pcre2-utf32 and 4 more0:10.40-2.el9_2.1RHSA-2026:82876
Red Hatrhel_e4s:9.2::baseospcre2, pcre2-syntax, pcre2-debuginfo and 3 more0:10.40-2.el9_2.1RHSA-2026:82876
Red Hatrhel_e4s:9.4::appstreampcre2-devel, pcre2-utf16, pcre2-utf32 and 5 more0:10.40-5.el9_4.1RHSA-2026:82875
6 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
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 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-89161
Alpinev3.22pcre210.46-r1ALPINE-CVE-2026-89161
Alpinev3.23, v3.24pcre210.48-r0ALPINE-CVE-2026-89161
Azure Linux3pcre2no fix listedAZL-100053
Azure Linux3phpno fix listedAZL-101766
Azure Linux3qtbaseno fix listedAZL-101790
Azure Linux3rustno fix listedAZL-101802 AZL-101823
Alpaquita23, 25, streampcre210.48-r0BELL-CVE-2026-89161
BellSoft Hardened Containers23, 25, streampcre210.48-r0BELL-CVE-2026-89161

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

This is an Important memory corruption vulnerability in PCRE2's JIT compiler. An attacker could exploit a flaw in `pcre2_jit_match` when a previously copied subject is passed as context, potentially leading to arbitrary code execution or denial of service. The high attack complexity and local attack vector reduce the overall risk, but the widespread use of PCRE2 and the potential for severe impact warrant the Important classification.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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 9mariadb:11.8-9090020261112110200.rhel9Fixed 2026-11-24RHSA-2026:102830
Red Hat Enterprise Linux 9pcre2-0:10.40-7.el9_8Fixed 2026-10-12RHSA-2026:81532
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionspcre2-0:10.40-2.el9_2.1Fixed 2026-10-14RHSA-2026:82876
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspcre2-0:10.40-5.el9_4.1Fixed 2026-10-14RHSA-2026:82875
Red Hat Enterprise Linux 9.6 Extended Update Supportpcre2-0:10.40-6.el9_6.1Fixed 2026-10-14RHSA-2026:82845
Red Hat Enterprise Linux 9.8 Extended Update Supportmariadb:11.8-9080020261112105505.rhel9Fixed 2026-11-24RHSA-2026:102942
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202611041925-0Fixed 2026-11-11RHSA-2026:95745
Red Hat Enterprise Linux 10bootcAffected
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 8pcre2Not affected
Red Hat Enterprise Linux 9bootcAffected
Red Hat Enterprise Linux 9mariadb:10.11/mariadbNot affected
Red Hat Enterprise Linux 9mingw-pcre2Will not fix
Red Hat Hardened ImagesrustNot affected
52 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-89161.

References

Check your stackJSON