CVE-2021-27247: Tencent WeChat - Buffer Overflow
- Cve: CVE-2021-27247
- Name: Tencent WeChat - Buffer Overflow
- Description: This vulnerability allows remote attackers to disclose sensitive information on affected installations of Tencent WeChat 2.9.5 desktop version. 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 read past the end of an allocated buffer. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process. Was ZDI-CAN-11907.
- Impact: Attackers can disclose sensitive information or leverage the flaw to execute arbitrary code in the current process.
- Remediation: Update to the latest version of Tencent WeChat or apply security patches addressing this vulnerability.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure, remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must visit malicious page or open malicious file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.08005
- Epss percentile: 0.94843
- Assignee: [email protected]
- Published at: 2021-04-14T16:15:13Z
- Age in days: 2050
- Modified at: 2026-06-17T03:44:32Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27247
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-21-217/ | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tencent:wechat | = 2.9.5 | no | nvd | /v1/products/tencent/wechat |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 492
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports