---
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'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00119
epssPercentile: 0.02026
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-11T19:59:09.931879Z'
ingestedAt: '2026-09-14T11:11:19.884Z'
---

## Overview

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.

## Affected

- `pcre2 < 10.48`
- `pcre2 = 10.48`

## Remediation

Upgrade past the affected range:

- `pcre2 10.48`

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89161.json)
- **RHSA-2026:67534** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:67534)
