Stack-based Buffer Overflow in PCRE and PCRE2 due to Mishandling of Group Empty Matches

Stack-based Buffer Overflow in PCRE and PCRE2 due to Mishandling of Group Empty Matches

CVE-2015-3217 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:N/A:P

PCRE 7.8 and 8.32 through 8.37, and PCRE2 10.10 mishandle group empty matches, which might allow remote attackers to cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by /^(?:(?(1)\\.|([^\\\\W_])?)+)+$/.

Learn more about our Web Application Penetration Testing UK.