https://bugs.exim.org/show_bug.cgi?id=1981
Bug ID: 1981 Summary: PCRE2 10.23-RC1 - Out of bounds read in match() #3 Product: PCRE Version: N/A Hardware: x86-64 OS: Linux Status: NEW Severity: bug Priority: medium Component: Code Assignee: p...@hermes.cam.ac.uk Reporter: fumfi....@gmail.com CC: pcre-dev@exim.org Created attachment 945 --> https://bugs.exim.org/attachment.cgi?id=945&action=edit POC to trigger out of bounds read (pcre2test) Affected: - PCRE2 version 10.23-RC1 2016-08-01 (SVN revision: 610) To reproduce the problem (pcre2test): pcre2test pcre2_oobr_match3 /dev/null ASAN Output: ==11262==ERROR: AddressSanitizer: SEGV on unknown address 0x7fb9109c42a1 (pc 0x7fb90f97b890 bp 0x7ffd1dffe180 sp 0x7ffd1dffdb00 T0) ==11262==The signal is caused by a READ memory access. #0 0x7fb90f97b88f in match XYZ/pcre/src/pcre2_match.c:5726:19 #1 0x7fb90f95f2b3 in pcre2_match_8 XYZ/pcre/src/pcre2_match.c:6992:8 #2 0x4ef4cc in process_data XYZ/pcre/src/pcre2test.c:6576:9 #3 0x4ef4cc in main XYZ/pcre/src/pcre2test.c:7788 #4 0x7fb90e7f682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #5 0x41aad8 in _start (/usr/local/bin/pcre2test+0x41aad8) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV XYZ/pcre/src/pcre2_match.c:5726:19 in match ==11262==ABORTING Regards, Kamil Frankowicz -- 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