---
id: CVE-2026-89158
title: >-
  PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer
  overflow and resultant out-of-bounds write.
summary: >-
  PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer
  overflow and resultant out-of-bounds write.
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L'
cwe:
  - CWE-190
  - CWE-787
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:23:41.450'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89158'
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-fmgr-6ggq-9859
    label: cve@mitre.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89158.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89158'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531746'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89158'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89158'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67534'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00221
epssPercentile: 0.12947
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-11T14:09:09.502063Z'
ingestedAt: '2026-09-14T05:47:18.876Z'
---

## Overview

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of-bounds write.

## Affected

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

## Remediation

Upgrade past the affected range:

- `pcre2 10.48`

## Vendor advisories

- **Red Hat VEX** · Moderate · 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-89158.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)
