{"id":"CVE-2026-89161","title":"In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context","summary":"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":"high","cvss":7.4,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-590","CWE-1341"],"vendor":"pcre","product":"pcre2","affected":["pcre2 < 10.48","pcre2 = 10.48"],"patched":["pcre2 10.48"],"published":"2026-09-11","updated":"2026-09-16","sourceUpdated":"2026-09-16T19:10:47.780","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-89161","references":[{"url":"https://github.com/PCRE2Project/pcre2/pull/937","label":"cve@mitre.org"},{"url":"https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.48","label":"cve@mitre.org"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89161.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89161"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2531747"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89161"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89161"},{"url":"https://access.redhat.com/errata/RHSA-2026:67534"},{"url":"https://access.redhat.com/errata/RHSA-2026:81522"},{"url":"https://access.redhat.com/errata/RHSA-2026:82845"},{"url":"https://access.redhat.com/errata/RHSA-2026:81532"},{"url":"https://access.redhat.com/errata/RHSA-2026:82876"},{"url":"https://access.redhat.com/errata/RHSA-2026:82875"},{"url":"https://access.redhat.com/errata/RHSA-2026:82939"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00126,"epssPercentile":0.02283,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T19:59:09.931879Z"},"ingestedAt":"2026-09-14T11:11:19.884Z","slug":"CVE-2026-89161","body":"## Overview\n\nIn PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur.\n\n## Affected\n\n- `pcre2 < 10.48`\n- `pcre2 = 10.48`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `pcre2 10.48`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89161.json)\n- **RHSA-2026:67534** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67534)\n- **RHSA-2026:81522** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · released 2026-10-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:81522)\n- **RHSA-2026:82845** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6), Red Hat CodeReady Linux Builder EUS (v.9.6) · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82845)\n- **RHSA-2026:81532** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · released 2026-10-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:81532)\n- **RHSA-2026:82876** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux BaseOS E4S (v.9.2) · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82876)\n- **RHSA-2026:82875** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4), Red Hat Enterprise Linux BaseOS E4S (v.9.4) · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82875)\n- **RHSA-2026:82939** · Red Hat · fixed in: Red Hat Update Infrastructure 5 · released 2026-10-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:82939)","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}