CVE Vulnerabilities

CVE-2026-89161

Free of Memory not on the Heap

Published: Sep 11, 2026 | Modified: Sep 16, 2026
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 IMPORTANT
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().

Affected Software

NameVendorStart VersionEnd Version
Pcre2Pcre*10.48 (excluding)
Pcre2Pcre10.48-rc1 (including)10.48-rc1 (including)
Red Hat Enterprise Linux 10RedHatpcre2-0:10.44-1.5.el10_2*
Red Hat Enterprise Linux 10RedHatmariadb11.8-3:11.8.8-2.el10_2*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatpcre2-0:10.44-1.4.el10_0*
Red Hat Enterprise Linux 9RedHatpcre2-0:10.40-7.el9_8*
Red Hat Enterprise Linux 9RedHatpcre2-0:10.40-7.el9_8*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatpcre2-0:10.40-2.el9_2.1*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatpcre2-0:10.40-5.el9_4.1*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatpcre2-0:10.40-6.el9_6.1*
Red Hat Cost Management On-Premise 1RedHatcostmanagement/costmanagement-ui-rhel10:1792605272*
Red Hat Hardened ImagesRedHatpcre2-main-10.48-0.1.hum1*
Red Hat Update Infrastructure 5RedHatrhui5/cds-kubernetes-rhel9:1791978534*
Red Hat Update Infrastructure 5RedHatrhui5/cds-rhel9:1791978528*
Red Hat Update Infrastructure 5RedHatrhui5/haproxy-rhel9:1791978528*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1791964013*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1791978693*
Pcre2Ubuntudevel*
Pcre2Ubuntuesm-infra/focal*
Pcre2Ubuntujammy*
Pcre2Ubuntunoble*
Pcre2Ubunturesolute*
Pcre2Ubuntustonking*
Pcre2Ubuntuupstream*

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, glibc in Linux provides protection against free of invalid pointers.

References