CVE-2021-31321 Memory corruption in n/a
A stack-based buffer overflow in the rlottie library allows remote attackers to execute arbitrary code via malicious animated stickers in Telegram clients.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-31321?
CVE-2021-31321 is a high-severity memory corruption vulnerability in n/a, published on 18 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Stack Based Overflow in the gray_split_cubic function of their custom fork of the rlottie library. A remote attacker might be able to overwrite Telegram's stack memory out-of-bounds on a victim device via a malicious animated sticker.
Weakness: CWE-787
Which versions are affected by CVE-2021-31321?
It affects 1 product.
Products include Telegram Telegram.
How do I fix CVE-2021-31321?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-31321 being exploited?
There is no known exploitation of CVE-2021-31321 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-31321, GHSA-hqqh-jq4c-g3w3, UBUNTU-CVE-2021-31321.