# CVE-2021-31315: Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Stack Based Overflow in the blit function of t…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 70% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-18T19:45:09.000Z
- Modified: 2026-06-17T03:51:32.477Z
- Weaknesses: CWE-787
- Assigned by: mitre

## 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 blit function of their custom fork of the rlottie library. A remote attacker might be able to access Telegram's stack memory out-of-bounds on a victim device via a malicious animated sticker.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- telegram telegram: before 7.1.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://www.shielder.it/advisories/telegram-rlottie-blit-stack-buffer-overflow/> (exploit, third-party-advisory)
- <https://www.shielder.it/blog/2021/02/hunting-for-bugs-in-telegrams-animated-stickers-remote-attack-surface/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31315](https://www.cve.org/CVERecord?id=CVE-2021-31315), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31315](https://nvd.nist.gov/vuln/detail/CVE-2021-31315), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31315 · Whole record: https://cve.day/CVE-2021-31315.json · Rebuilt by cve.day 2026-11-25T22:58:01.453Z
