Description
The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
Remediation
References
Related Vulnerabilities
Jetty Session Fixation Vulnerability (CVE-2018-12538)
WordPress 5.0.x Multiple Vulnerabilities (5.0 - 5.0.4)
Liferay DXP Missing Authorization Vulnerability (CVE-2025-43805)
Magento Observable Differences in Behavior to Error Inputs Vulnerability (CVE-2020-9588)
Next.js Deserialization of Untrusted Data Vulnerability (CVE-2025-55182)