Closed retpoline closed 2 years ago
Does the second crash happen in audiowaveform
or rather in the library libsndfile
?
Thank you for testing this! I have just pushed a fix for the first crash. The second one does indeed comes from libsndfile.
Great, thanks for the quick fix!
And yes, a bug has been filed for libsndfile to look into the flac file crash.
Thanks again. I'll close this as there's nothing more I can do in audiowaveform.
Hi team,
Some crashes were found while fuzz testing of the audiowaveform binary which can be triggered via malformed DAT and FLAC files. Although these malformed files only crash the program, they could potentially be crafted further into security issues where these kinds of files would be able compromise the process's memory through memory corruption, so hardening the code to prevent these kinds of bugs would be great to mitigate such issues.
See details below for repro and debug information.
crash.dat
debug info
crash.flac
You can download the crashing flac file (~8kb file size) from Ufile to to debug and understand where the code is crashing.
debug info
(requires electric fence memory debugger:
apt-get install -y electric-fence
)