Out-of-bounds write in PCRE2 - #VU152562

 

Out-of-bounds write in PCRE2 - #VU152562

Published: September 28, 2026


Vulnerability identifier: #VU152562
CSH Severity: Low
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to corrupt adjacent memory.

The vulnerability exists due to an out-of-bounds write in JIT matching stack allocation handling when matching a JIT-compiled user-supplied regular expression requiring a large single stack allocation. A remote user can supply a regular expression with many capturing groups and recursive matching to corrupt adjacent memory.

Only applications with JIT enabled that create and assign a growable JIT stack are affected.


Affected software

PCRE2

Remediation

Install security update from vendor's website.

PCRE2 - update to 10.49

External References

Related Security Bulletins