Out-of-bounds write in PCRE2 - CVE-2026-103111

 

Out-of-bounds write in PCRE2 - CVE-2026-103111

Published: September 28, 2026 / Updated: October 1, 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: CVE-2026-103111
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
Anolis OS
Red Hat Enterprise Linux Server - AUS
openEuler
pcre2 (Red Hat package)
pcre2-utf32
pcre2-utf16
pcre2-tools
pcre2-devel
pcre2
pcre2-debuginfo
pcre2-debugsource
pcre2-help

How to mitigate CVE-2026-103111

Install security update from vendor's website.

PCRE2 - update to 10.49
pcre2 (Red Hat package) - addressed in versions 10.32-2.el8_4.1, 10.32-3.el8_6.1
pcre2-utf32 - update to 10.32-4.0.1
pcre2-utf16 - update to 10.32-4.0.1
pcre2-tools - update to 10.32-4.0.1
pcre2-devel - update to 10.32-4.0.1
pcre2 - update to 10.32-4.0.1
pcre2 - addressed in versions 10.39-25, 10.42-21
pcre2-debuginfo - addressed in versions 10.39-25, 10.42-21
pcre2-debugsource - addressed in versions 10.39-25, 10.42-21
pcre2-devel - addressed in versions 10.39-25, 10.42-21
pcre2-help - addressed in versions 10.39-25, 10.42-21

External References

Related Security Bulletins