Out-of-bounds read in PCRE2 - CVE-2026-89160
Published: August 31, 2026 / Updated: September 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to out-of-bounds read in pcre2_match() interpreter when processing invalid UTF subjects with PCRE2_MATCH_INVALID_UTF during backward character scans. A remote attacker can supply a specially crafted subject string to cause a denial of service.
Only patterns compiled with PCRE2_UTF and PCRE2_MATCH_INVALID_UTF are affected, and exploitation requires an invalid subject beginning with a UTF continuation code unit together with affected backward-walking pattern operations such as \X or variable-length lookbehind.
Affected software
Anolis OS
pcre2
pcre2-devel
pcre2-static
pcre2-tools
pcre2-utf16
pcre2-utf32
pcre2-syntax
How to mitigate CVE-2026-89160
pcre2 - update to 10.42-10
pcre2-devel - update to 10.42-10
pcre2-static - update to 10.42-10
pcre2-tools - update to 10.42-10
pcre2-utf16 - update to 10.42-10
pcre2-utf32 - update to 10.42-10
pcre2-syntax - update to 10.42-10