Red Hat Security Advisory: pcre2 security update
🔗 CVE IDs covered (7)
📋 Description
CVE-2026-86145 — pcre2: PCRE2: Out-of-bounds write allows arbitrary code execution via crafted regular expressions CVE-2026-89156 — PCRE2: PCRE2: Out-of-bounds read via invalid UTF data during JIT fallback CVE-2026-89157 — pcre2: PCRE2: Out-of-bounds write via large pattern input CVE-2026-89158 — PCRE2: PCRE2: Out-of-bounds write via integer overflow on 32-bit platforms CVE-2026-89160 — pcre2: PCRE2: Denial of Service via out-of-bounds read during invalid UTF matching CVE-2026-89161 — pcre2: PCRE2: Memory corruption vulnerability in pcre2_jit_match CVE-2026-103111 — pcre2: pcre2: Out-of-bounds write via crafted regular expression
🎯 Affected products99
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux BaseOS (v. 9)
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-0:10.40-7.el9_8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-0:10.40-7.el9_8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-0:10.40-7.el9_8.src as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-0:10.40-7.el9_8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.s390x as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debuginfo-0:10.40-7.el9_8.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- pcre2-debugsource-0:10.40-7.el9_8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
- +69 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: 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. Workaround: 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.
🔗 References (10)
- selfhttps://access.redhat.com/errata/RHSA-2026:81532
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2528993
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2531743
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2531744
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2531745
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2531746
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2531747
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2543797
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_81532.json