CVE-2026-89157
Received Received - Intake

PCRE2 32-bit Pattern Conversion Out-of-Bounds Write

Vulnerability report for CVE-2026-89157, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-11

Last updated on: 2026-09-11

Assigner: MITRE

Description

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-11
Last Modified
2026-09-11
Generated
2026-09-11
AI Q&A
2026-09-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
pcre2project pcre2 to 10.48 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-89157 is an out-of-bounds write vulnerability in PCRE2 versions 10.30 through 10.47 affecting 32-bit systems. It occurs in the pcre2_pattern_convert() function when converting very large patterns, causing an integer overflow during buffer size calculation. This leads to a buffer that is too small being allocated, resulting in the converted pattern being written beyond the allocated memory, causing heap corruption and potential crashes.

Detection Guidance

Detecting this vulnerability requires checking the installed PCRE2 version on your system. Use the command 'pcre2-config --version' or 'pkg-config --modversion libpcre2-8' to verify if the version is below 10.48. If the output shows a version between 10.30 and 10.47, the system is vulnerable.

Impact Analysis

This vulnerability could allow an attacker to crash the application or corrupt memory by providing a specially crafted large pattern. This may lead to denial-of-service conditions or, in some cases, further memory corruption. The impact is limited to 32-bit systems and requires the application to use PCRE2's automatic output allocation mode.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling memory corruption through out-of-bounds writes. Such flaws may lead to crashes or further memory corruption, which could disrupt data processing or storage operations. GDPR requires ensuring data integrity and security, while HIPAA mandates protection against unauthorized access or data breaches. Exploitation of this issue might compromise these requirements.

Mitigation Strategies

Upgrade PCRE2 to version 10.48 or later immediately. If upgrading is not possible, avoid using automatic output allocation in pcre2_pattern_convert() by ensuring buffptr is NULL or limiting pattern sizes before conversion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89157. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart