Cybersecurity news

Jessica Doner

Back to the list

Telegram Android RCE: How a tgcalls MediaState Bug Let a Voice Call Run Code

The CyberSec Guru,

A bug in Telegram's Android voice call media state allowed code to run when users accepted a call.

Vulnerabilities and patches

Overview

A security research startup named NebuSec disclosed a critical vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in Telegram for Android that allows an attacker to run code on a user's device. The flaw exists in tgcalls, a shared native library that handles the low-level processing of voice and video calls. When a victim answers a crafted call, the bug in the MediaState parser lets the attacker execute remote code on ARM64 Android devices. This issue affects Telegram versions 8.6.2 through 12.10.3, which rely on optimized native libraries for high-performance media handling. The problem arises because the parser failed to check if a second value existed before reading it. Users of these specific versions are affected and must update to version 12.10.4 or later to receive the fix.

Terms in this story

vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
remote code execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
encoding
Rewrite data in another form so it can be carried; no key, anyone can reverse it. Students often confuse encoding with encryption at first, but systems encode data only so it travels safely through text protocols, not to keep it secret from anyone. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
latency
The time delay it takes for a packet of data to travel from sender to receiver and back. Security filters and encryption tools must inspect traffic with low latency so they do not noticeably slow down voice calls, financial trades, or web browsing.
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
validation
Checking that data sent by a user matches the expected format and size before using it. Many injection and overflow vulnerabilities happen because a program skips input validation and trusts whatever string or file size an outside user sends. Security+ objective 4.1 lists the term
control plane
The management layer of a cloud or network system that configures accounts, routing rules, and permissions. If an attacker compromises a cloud control plane, they can spin up new machines, alter firewall rules, and access any workload across the environment.
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
cryptographic keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
data plane
The part of a network device or cloud service that carries and forwards actual user traffic. Network engineers separate the management control plane from the high-speed data plane so an overload or attack in user traffic cannot lock administrators out of the router.
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.

Read the full article on The CyberSec Guru (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related