# CVE-2021-31322

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-18 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-31322
- Record: https://cvemate.com/vulnerability/CVE-2021-31322 · JSON: https://cvemate.com/vulnerability/CVE-2021-31322/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 1.425%, percentile 73.842%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- ubuntu rlottie (Ubuntu): \< 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1
- telegram telegram: \< 7.1.0

## References

- <https://www.shielder.it/blog/2021/02/hunting-for-bugs-in-telegrams-animated-stickers-remote-attack-surface/>
- <https://www.shielder.it/advisories/telegram-rlottie-lotgradient-populate-heap-buffer-overflow/>
- <https://ubuntu.com/security/CVE-2021-31322>
- <https://www.cve.org/CVERecord?id=CVE-2021-31322>
- <https://ubuntu.com/security/notices/USN-7198-1>

---

Data as of 2026-12-05T05:17:56.678Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
