CVE-2021-24042: facebook whatsapp business for android Heap-based Buffer Overflow
Vulnerability summary
CVE-2021-24042 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in facebook whatsapp business for android. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities.
Timeline
- 04-01-2022PublishedVulnerability first disclosed.
- 22-05-2025Last modifiedVulnerability information updated.
Description
The calling logic for WhatsApp for Android prior to v2.21.23, WhatsApp Business for Android prior to v2.21.23, WhatsApp for iOS prior to v2.21.230, WhatsApp Business for iOS prior to v2.21.230, WhatsApp for KaiOS prior to v2.2143, WhatsApp Desktop prior to v2.2146 could have allowed an out-of-bounds write if a user makes a 1:1 call to a malicious actor.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
0.00 pp
From 1.24% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Facebook6 products
- whatsapp business for android≥ unspecified, < v2.21.23
- whatsapp business for ios≥ unspecified, < v2.21.230
- whatsapp desktop≥ unspecified, < v2.2146
- whatsapp for android≥ unspecified, < v2.21.23
- whatsapp for ios≥ unspecified, < v2.21.230
Whatsapp1 product
- whatsapp< 2.21.23 | < 2.21.230 | < 2.2143 | < 2.2146
2 vendors · 7 products