PCRE2 is a project based on PCRE (Perl Compatible Regular Expressions) which has a new and revised API.
PCRE2 has a flaw when handling JIT-compiled regex using the \X pattern.
An attacker could cause a possible Denial of Service condition.
There is no known workaround at this time.
All PCRE2 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-libs/pcre2-10.34"