[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#774037: rzip: segmentation fault



Package: rzip
Version: 2.1-2
Usertags: afl

rzip crashes when unpacking the attached (slightly corrupted) file:

$ rzip -d crash.rz
Partial read!? asked for 12517376 bytes but got 174
Segmentation fault


This bug was found using American fuzzy lop:
https://packages.debian.org/experimental/afl

Disclaimer: I don't have spare CPU cycles, so I fuzzed only till the first crash (which took only a few seconds). It's likely that extensive fuzzing would uncover more interesting crashers. I'd encourage rzip maintainers to perform fuzzing with AFL on their own. :-)

-- System Information:
Debian Release: 8.0
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages rzip depends on:
ii  libbz2-1.0  1.0.6-7+b2
ii  libc6       2.19-13

--
Jakub Wilk

Attachment: crash.rz
Description: Binary data


Reply to: