Rar CmdExtract::UnstoreFile Integer Truncation Memory Corruption
Posted by deepcore on December 15, 2015 – 9:17 pm
The attached file crashes in CmdExtract::UnstoreFile because the signed int64 DestUnpSize is truncated to an unsigned 32bit integer. Perhaps CmdExtract::ExtractCurrentFile should sanity check Arc.FileHead.UnpSize early. The researcher observed this crash in Avast Antivirus, but the origin of the code appears to be the unrar source distribution. Many other antiviruses may be affected, and presumably WinRAR and other archivers.
Post a reply
You must be logged in to post a comment.