# CVE-2021-31320: librlottie0-1: Telegram Android &lt;7.1.0 (2090), Telegram iOS &lt;7.1, and Telegram macOS &lt;7.1 are affected by a Heap Buffer Ove...

CVE-2021-31320 is fixed in librlottie0-1 on 1 platform by librlottie0-1 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1 (version 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1), released May 18, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-31320
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0122
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 18, 2021

## Description

Telegram Android &lt;7.1.0 (2090), Telegram iOS &lt;7.1, and Telegram macOS &lt;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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | librlottie0-1 Ubuntu 20.04 LTS (focal) | 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1 | [librlottie0-1 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-librlottie0-1-0-git20200305.a717479-dfsg-1ubuntu0.1-esm1.md) | May 18, 2021 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
