{"id":"CVE-2021-31321","details":"Telegram Android \u003c7.1.0 (2090), Telegram iOS \u003c7.1, and Telegram macOS \u003c7.1 are affected by a Stack Based Overflow in the gray_split_cubic function of their custom fork of the rlottie library. A remote attacker might be able to overwrite Telegram's stack memory out-of-bounds on a victim device via a malicious animated sticker.","modified":"2026-03-14T10:55:43.962412Z","published":"2021-05-18T20:15:07.790Z","references":[{"type":"EVIDENCE","url":"https://www.shielder.it/advisories/telegram-rlottie-gray_split_cubic-stack-buffer-overflow/"},{"type":"EVIDENCE","url":"https://www.shielder.it/blog/2021/02/hunting-for-bugs-in-telegrams-animated-stickers-remote-attack-surface/"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31321.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"7.1.0"}]},{"events":[{"introduced":"0"},{"fixed":"7.1.0"}]},{"events":[{"introduced":"0"},{"fixed":"7.1.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}]}