xpdf
xpdf copied to clipboard
Hi, in the lastest version of this code [ ps: commit id [ffaf11c](https://github.com/jhcloos/xpdf/commit/ffaf11c4f9ee0c4a124ec454f96c0f99ee699f10)] I found something unusual. ### crash sample [8id103_heap_buffer_overflow_in_readScan.zip](https://github.com/jhcloos/xpdf/files/9278231/8id103_heap_buffer_overflow_in_readScan.zip) ### command to reproduce `./pdftops -q [crash sample] /dev/null`...
Hi, in the lastest version of this code [ ps: commit id [ffaf11c](https://github.com/jhcloos/xpdf/commit/ffaf11c4f9ee0c4a124ec454f96c0f99ee699f10)] I found something unusual. ### crash sample [8id148_heap_buffer_overflow_in_lookChar.zip](https://github.com/jhcloos/xpdf/files/9278233/8id148_heap_buffer_overflow_in_lookChar.zip) ### command to reproduce `./pdftops -q [crash sample] /dev/null`...
ytl #1.0
Asap
# SUMMARY Hi there, I use my fuzzer for fuzzing the binary pdfIamges, and this binary crashes with the following: ``` Syntax Error (2227): Unexpected end of file in flate...
# SEGV ## env ubuntu20.04 gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) XPDF commit ffaf11c ## sample [id189.zip](https://github.com/jhcloos/xpdf/files/10868398/id189.zip) ## reproduce ``` CFLAGS="-g -fsanitize=address" CXXFLAGS="-g -fsanitize=address" LDFLAGS="-g -fsanitize=address" ./configure make ./pdftotext poc ```...