[pcre-dev] [Bug 1976] New: PCRE2 10.23-RC1 pcre2test - Out o…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 1976] New: PCRE2 10.23-RC1 pcre2test - Out of bounds read in operatorString()
https://bugs.exim.org/show_bug.cgi?id=1976

            Bug ID: 1976
           Summary: PCRE2 10.23-RC1 pcre2test - Out of bounds read in
                    operatorString()
           Product: PCRE
           Version: N/A
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: fumfi.255@???
                CC: pcre-dev@???


Created attachment 940
--> https://bugs.exim.org/attachment.cgi?id=940&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 pcre2test_oobr_pchar /dev/null

==16515==ERROR: AddressSanitizer: SEGV on unknown address 0x7fd86d4d9a01 (pc
0x0000004feca0 bp 0x7ffc490c5450 sp 0x7ffc490c53a0 T0)
==16515==The signal is caused by a READ memory access.
    #0 0x4fec9f in pchar XYZ/src/pcre2test.c:2578:5
    #1 0x4f945e in pchars8 XYZ/src/pcre2test.c:2664:12
    #2 0x4efe10 in process_data XYZ/src/pcre2test.c:6738:11
    #3 0x4efe10 in main XYZ/src/pcre2test.c:7788
    #4 0x7fd86d32582f 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/src/pcre2test.c:2578:5 in pchar
==16515==ABORTING

Regards,
Kamil Frankowicz

--
You are receiving this mail because:
You are on the CC list for the bug.