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 Hardened ImagesRedHatpcre2-main-10.48-0.1.hum1*
Pcre2Ubuntuesm-infra/focal*
Pcre2Ubuntujammy*
Pcre2Ubuntunoble*
Pcre2Ubunturesolute*
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