Closed Frank-Z7 closed 1 year ago
Thanks very much for reporting this, and for the detailed analysis!
It turns out that the problem has nothing to do with the test file. The problem is that there is a syntax error (several, actually) in the command line and the program is reporting those and terminating early. You can see the error messages above ("illegal option"). This was actually reported once before in issue #124 and I discuss it there in great detail.
In short, I do not consider this a possible security vulnerability, but if you can explain how this might be exploited I would be happy to listen.
thanks a lot!
Memory leak on wavpack
Description
We found a Memory leak bug when we used wavpack to convert wav format files to wv files under the specific configuration option "-bn=22.1 -c -v [inputfile] -o".
It should be noted that wavpack(version 5.2.0-1) downloaded through apt-get may also trigger this vulnerability, which may endanger the system security of Debian users.
Version
wavpack 5.6.6,the latest version.
Reference
http://www.wavpack.com/
https://github.com/dbry/WavPack
Actual Behavior
Memory leak
PoC
wavpackpoc1: https://github.com/Frank-Z7/z-vulnerabilitys/blob/main/wavpackpoc1
Reproduction
ASAN Log
Location
Environment
Credit
Zeng Yunxiang ([Huazhong University of Science and Technology](http://cse.hust.edu.cn/))