CVE-2021-31323: telegram Out-of-bounds Write
Vulnerability summary
CVE-2021-31323 is a medium (CVSS 5.5) Out-of-bounds Write vulnerability in telegram. EPSS estimates a 1.27% chance of exploitation in the next 30 days, higher than 69.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 18-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Heap Buffer Overflow in the LottieParserImpl::parseDashProperty 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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.27%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.27% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (shielder.it)
Maturity: unknown
Exploit Reference (shielder.it)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Telegram1 product
- telegram< 7.1.0
Ubuntu1 product
- rlottie< 0~git20200305.a717479+dfsg-1 | < 0~git20200305.a717479+dfsg-1ubuntu0.1~esm1 | < 0.1+dfsg-2ubuntu0.1 | < 0.1+dfsg-4ubuntu1
2 vendors · 2 products
References
4 links- www.shielder.it/blog/2021/02/hunting-for-bugs-in-telegrams-animated-stickers-remote-attack-surface/X Refsource MISCExploitThird Party Advisory
- www.shielder.it/advisories/telegram-rlottie-lottieparserimpl-parsedashproperty-heap-buffer-overflow/X Refsource MISCREPORTExploitThird Party Advisory