---
id: CVE-2026-89162
title: >-
  In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an
  adversary, typically in a situation where the access available to the
  adversary is already unsafe.
summary: >-
  In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an
  adversary, typically in a situation where the access available to the
  adversary is already unsafe.
severity: low
cvss: 2.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-669
  - CWE-125
vendor: pcre
product: pcre2
affected:
  - 'pcre2 >= 10.45, < 10.48'
  - pcre2 = 10.48
patched:
  - pcre2 10.48
published: '2026-09-11'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T18:56:28.643'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89162'
references:
  - url: 'https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.48'
    label: cve@mitre.org
  - url: >-
      https://github.com/PCRE2Project/pcre2/security/advisories/GHSA-q7rw-r7qq-2hx6
    label: cve@mitre.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89162.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89162'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531748'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89162'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89162'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67534'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00155
epssPercentile: 0.03858
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T14:56:58.709598Z'
ingestedAt: '2026-09-11T16:45:47.860Z'
---

## Overview

In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an adversary, typically in a situation where the access available to the adversary is already unsafe.

## Affected

- `pcre2 >= 10.45, < 10.48`
- `pcre2 = 10.48`

## Remediation

Upgrade past the affected range:

- `pcre2 10.48`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, 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-89162.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)
