https://bugs.exim.org/show_bug.cgi?id=1770
Bug ID: 1770
Summary: PCRE fails to detect a circular reference of some
numbered patterns
Product: PCRE
Version: 10.20 (PCRE2)
Hardware: x86
OS: All
Status: NEW
Severity: security
Priority: medium
Component: Code
Assignee: ph10@???
Reporter: v.bakaitis@???
CC: pcre-dev@???
PCRE fails to detect a circular reference in the following regex:
(((?3)))((?1))
This causes an infinite loop that eventually segfaults at pcre_compile.c:2338
vbakaitis@fuzz:~$ pcre2grep "(((?3)))((?1))" .
Segmentation fault
--
You are receiving this mail because:
You are on the CC list for the bug.