Integer overflow in PCRE2 - CVE-2026-89157
Published: August 31, 2026 / Updated: September 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause memory corruption and a process crash.
The vulnerability exists due to integer overflow leading to an out-of-bounds write in pcre2_pattern_convert() when processing a very large attacker-controlled pattern using PCRE2-managed output allocation on a 32-bit system. A remote attacker can supply a specially crafted large foreign-syntax pattern to cause memory corruption and a process crash.
The issue occurs before pattern compilation or matching, and requires a 32-bit process with a non-NULL buffptr whose value is NULL.
Affected software
Anolis OS
pcre2
pcre2-devel
pcre2-static
pcre2-tools
pcre2-utf16
pcre2-utf32
pcre2-syntax
How to mitigate CVE-2026-89157
pcre2 - update to 10.42-8
pcre2-devel - update to 10.42-8
pcre2-static - update to 10.42-8
pcre2-tools - update to 10.42-8
pcre2-utf16 - update to 10.42-8
pcre2-utf32 - update to 10.42-8
pcre2-syntax - update to 10.42-8