CVE-2021-31319 Integer overflow in n/a

Medium 5.5 Published Updated

Remote attackers can trigger an integer overflow in Telegram clients via malicious stickers, potentially leading to out-of-bounds memory access and code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-31319?

CVE-2021-31319 is a medium-severity vulnerability in n/a, published on 18 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by an Integer 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.

Weakness: CWE-190

Which versions are affected by CVE-2021-31319?

It affects 1 product.

Products include Telegram Telegram.

How do I fix CVE-2021-31319?

Upgrade to a fixed version.

Is CVE-2021-31319 being exploited?

There is no known exploitation of CVE-2021-31319 in the wild and no public exploit code.

Sources

Also known as GHSA-5422-w3xr-rj47, UBUNTU-CVE-2021-31319.

Is CVE-2021-31319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free