CVE-2020-27874 Memory corruption in WeChat
Remote attackers can execute arbitrary code in WeChat by tricking users into visiting malicious pages or opening files due to a memory corruption flaw in the WXAM Decoder.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-27874?
CVE-2020-27874 is a high-severity memory corruption vulnerability in Tencent WeChat, published on 10 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tencent WeChat 7.0.18. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the WXAM Decoder. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated object. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-11580.
Weakness: CWE-119
Which versions are affected by CVE-2020-27874?
It affects 1 product.
Products include Tencent Wechat.
How do I fix CVE-2020-27874?
No fix has been published for CVE-2020-27874 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-27874 being exploited?
There is no known exploitation of CVE-2020-27874 in the wild and no public exploit code.
Other vulnerabilities in Tencent WeChat
Sources
Also known as GHSA-6c98-7x6w-rx39.