Out-of-bounds write in PCRE2 - CVE-2026-103111
Published: September 28, 2026 / Updated: October 1, 2026
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
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
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
- Out-of-bounds write in PCRE2
- openEuler 24.03 LTS SP1 update for pcre2
- openEuler 22.03 LTS SP4 update for pcre2
- openEuler 24.03 LTS SP4 update for pcre2
- openEuler 24.03 LTS SP3 update for pcre2
- Red Hat Enterprise Linux 8 update for pcre2
- Red Hat Enterprise Linux 8 update for pcre2
- Anolis OS update for pcre2