Buffer overflow in Telegram

CVE-2021-31320

Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Heap Buffer Overflow in the VGradientCache::generateGradientColorTable function of their custom fork of the rlottie library. A remote attacker might be able to overwrite heap memory out-of-bounds on a victim device via a malicious animated sticker.

Vulnerability class: Buffer Overflow

EPSS: 0.012 (66.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-31320?
CVE-2021-31320 is a high-severity vulnerability in Telegram, classified under Out-of-bounds Write. CVSS score: 7.1/10. Published 2021-05-18.
How severe is CVE-2021-31320?
High severity. CVSS v3 base score is 7.1 out of 10.