CGSecurity TestDisk Changelog reports:
Various fix including security fix, thanks to:
Coverity scan (Static Analysis of source code) afl-fuzz (security-oriented fuzzer). Denis Andzakovic from Security Assessment for reporting an exploitable Stack Buffer Overflow.
Denis Andzakovic reports:
A buffer overflow is triggered within the software when a malicious disk image is attempted to be recovered. This may be leveraged by an attacker to crash TestDisk and gain control of program execution. An attacker would have to coerce the victim to run TestDisk against their malicious image.