CVE-2026-89158
Received Received - Intake

Integer Overflow in PCRE2 on 32-bit Platforms

Vulnerability report for CVE-2026-89158, 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_compile_32 integer overflow and resultant out-of-bounds write.

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-89158 is an integer overflow vulnerability in PCRE2 versions up to 10.47 that affects 32-bit systems. It occurs in the pcre2_compile_32() function during pattern compilation, leading to an out-of-bounds heap write when a crafted pattern triggers an overflow in byte-size calculations.

Detection Guidance

To detect this vulnerability, check the installed PCRE2 version on 32-bit systems using commands like 'pcre2-config --version' or 'ldconfig -p | grep pcre2'. Compare the output against version 10.48 or later. If using a package manager, run 'apt list --installed | grep pcre2' (Debian/Ubuntu) or 'rpm -qa | grep pcre2' (RHEL/CentOS).

Scan applications linking to PCRE2 with tools like 'ldd' to identify 32-bit processes using vulnerable libraries. Example: 'ldd /path/to/binary | grep pcre2'.

Impact Analysis

Successful exploitation could allow attackers to execute arbitrary code or escalate privileges by exploiting the out-of-bounds write. This requires an application to compile an attacker-controlled pattern using the 32-bit PCRE2 library in a 32-bit process.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR or HIPAA. It is a technical flaw in PCRE2's 32-bit library that could allow out-of-bounds writes during pattern compilation, potentially leading to process exploitation. Compliance impacts would depend on how the affected library is used in systems handling regulated data.

Mitigation Strategies

Immediately upgrade PCRE2 to version 10.48 or later on all 32-bit systems. Use your package manager: 'sudo apt upgrade pcre2' (Debian/Ubuntu) or 'sudo yum update pcre2' (RHEL/CentOS).

Recompile or update applications using PCRE2 to ensure they link against the patched library. Restart services after upgrading to apply changes.

If upgrading is not immediately possible, restrict access to applications compiling user-controlled patterns or disable 32-bit PCRE2 usage until patched.

Chat Assistant

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

EPSS Chart