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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to