A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Threat Detection Engine before 3.37.2 and other products, that can lead to arbitrary code execution. An integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the "DestPos" variable, which allows the attacker to write out of bounds when setting Mem[DestPos].
https://security.gentoo.org/glsa/201804-16
https://security.gentoo.org/glsa/201709-24
https://security.gentoo.org/glsa/201708-05
https://nakedsecurity.sophos.com/2012/11/05/tavis-ormandy-sophos/
https://lock.cmpxchg8b.com/sophailv2.pdf
https://kc.mcafee.com/corporate/index?page=content&id=SB10205
https://community.sophos.com/kb/en-us/118424#six