# CVE-2021-31317

- 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-31317, DEBIAN-CVE-2021-31317
- Record: https://cvemate.com/vulnerability/CVE-2021-31317 · JSON: https://cvemate.com/vulnerability/CVE-2021-31317/json

## Description

```text
Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Type Confusion in the VDasher constructor of their custom fork of the rlottie library. A remote attacker might be able to access Telegram's 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.288%, percentile 71.193%, 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

- debian rlottie (Debian): \< 0.1+dfsg-2
- 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-vdasher-vdasher-type-confusion/>
- <https://ubuntu.com/security/CVE-2021-31317>
- <https://www.cve.org/CVERecord?id=CVE-2021-31317>
- <https://ubuntu.com/security/notices/USN-7198-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-31317>

---

Data as of 2026-12-05T05:18:02.315Z. 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
