TestDisk: User-assisted execution of arbitrary code A buffer overflow in TestDisk might allow remote attackers to execute arbitrary code. testdisk 2016-11-22 2016-11-22 548258 local, remote 7.0-r2 7.0-r2

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

A buffer overflow can be triggered within TestDisk when a malicious disk image is attempting to be recovered.

A remote attacker could coerce the victim to run TestDisk against their malicious image. This may be leveraged by an attacker to crash TestDisk and gain control of program execution.

There is no known workaround at this time.

All TestDisk users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-admin/testdisk-7.0-r2"
TestDisk check_OS2MB Stack Buffer overflow K_F b-man