Out-of-bounds read in PCRE2 - CVE-2026-89160

 

Out-of-bounds read in PCRE2 - CVE-2026-89160

Published: August 31, 2026 / Updated: September 12, 2026


Vulnerability identifier: #VU146526
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-89160
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

PCRE2
Anolis OS
pcre2
pcre2-devel
pcre2-static
pcre2-tools
pcre2-utf16
pcre2-utf32
pcre2-syntax

How to mitigate CVE-2026-89160

Install security update from vendor's website.

PCRE2 - update to 10.48
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

External References

Related Security Bulletins