{"slug": "one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory", "title": "One Call Is All It Takes: NebuSec Researchers Uncover Telegram Android Memory Corruption", "summary": "NebuSec researchers found a remotely triggerable native memory corruption flaw in Telegram for Android versions 8.6.2 through 12.10.3, in which an attacker with only a standard Telegram account can trigger the bug by sending a crafted MediaState message after a victim answers a private voice call, with no link or download required. The flaw sits in the native C++ MediaStateMessage_parse() function, which accesses the videoState field when processing videoRotation even though videoState may be omitted, causing an invalid object access and virtual function call that crashes the app; NebuSec confirmed the vulnerable path on ARM64 Android devices. Telegram fixed the issue in version 12.10.4, released on September 24, 2026.", "body_md": "The NebuSec research team discovered a remotely triggerable native memory corruption flaw in Telegram for Android, demonstrating how subtle coding errors can expose significant security risks in widely used applications.\n\nThe vulnerability affects Telegram for Android versions 8.6.2 through 12.10.3 and resides in the application’s native C++ calling implementation.\n\nThe only thing an attacker needs to trigger the flaw? A standard Telegram account. This means the victim just has to answer an incoming private voice call: No malicious link, download or other interaction is required.\n\nTelegram addressed the issue in version 12.10.4, released on September 24, 2026.\n\nThe discovery highlights how subtle errors in application logic can create security risks in widely used software, and the role AI-driven vulnerability research can play in identifying them. At NebuSec, we’re addressing this challenge by combining AI-driven vulnerability discovery with the expertise of some of the world’s leading security researchers. Our platform is designed to help organizations continuously identify, verify and remediate vulnerabilities across complex software environments and code.\n\n## Understanding the Vulnerability\n\nThe vulnerability is in how Telegram handles the signaling of messages exchanged during private voice calls.\n\nIn other words, when a private voice call is established, Telegram exchanges messages describing the call’s media state. The same message also carries optional video settings, including camera state and rotation, even when the call begins as audio-only. One of these messages, `MediaState`, is processed by a native C++ function called `MediaStateMessage_parse()`.\n\nWe identified an error in how this function handles certain missing data fields. Specifically, the parser permits a `MediaState` message to omit the `videoState` field. However, when processing the `videoRotation` field, the code incorrectly attempts to access `videoState` even when that field is absent.\n\nThe result? An invalid C++ object access and virtual function call, creating a native memory corruption vulnerability that can cause the victim’s Telegram application to crash.\n\nThe issue is present in both the primary calling implementation (`tgcalls/v2/Signaling.cpp`) and a compatibility implementation (` tgcalls/v2_4_0_0/Signaling_4_0_0.cpp`).\n\nThis type of vulnerability illustrates why only identifying common coding mistakes isn’t enough. Effective code security requires a deeper understanding of how application logic, memory management and attacker-controlled inputs interact to create exploitable conditions.\n\n## How the Vulnerability Can Be Triggered\n\nThe attack requires minimal interaction between the attacker and victim.\n\nHere’s how it happens: An attacker initiates a private Telegram voice call using a standard account. Once the victim answers and the call is established, the attacker can send a specially crafted `MediaState` message through the encrypted SCTP DataChannel used for call signaling. The malformed message reaches Telegram’s C++ calling stack, where the vulnerable parser processes it.\n\nUnlike attacks that depend on phishing links or malicious attachments, this vulnerability can be triggered through normal call functionality. The attacker doesn’t need privileged access or control over Telegram’s infrastructure.\n\nWe confirmed the vulnerable code path in private voice calls on ARM64-based Android devices.\n\nThe demonstrated impact is remotely triggered native memory corruption and application crashes. The underlying invalid-object access could potentially serve as a building block in a more complex exploit chain.\n\nFor security teams, this reinforces the importance of evaluating vulnerabilities based on real-world exploitability, not just whether a coding error exists. Understanding how a vulnerability can be reached, triggered and potentially exploited is essential to prioritizing security risks.\n\n## Root Cause: An Incorrect Field Reference\n\nThe root cause is a field-reference error in the signaling parser.\n\nWhen processing `videoRotation`, the implementation incorrectly accesses `videoState->second.int_value()` instead of `videoRotation->second.int_value()`.\n\nIf `videoState` is absent, its iterator points to `std::map::end()`. The parser then attempts to interpret memory beyond the container’s valid elements as a `json11::Json` object and invoke a virtual function on it.\n\nThis creates an invalid-object dereference and virtual dispatch operation that can be triggered remotely through a crafted signaling message.\n\nThe fix was straightforward: Telegram replaced the incorrect `videoState` references with the correct `videoRotation` references in both parser implementations.\n\nAlthough the underlying coding error was small, its location in the native calling stack made it remotely reachable through a routine application feature.\n\n## Affected Versions and Remediation\n\nThe vulnerable source code was first introduced into Telegram’s repository in version 7.8.0, released June 25, 2021. However, the affected v2 calling implementation wasn’t yet enabled on Android at that time.\n\nThe vulnerable code path became reachable in Telegram for Android version 8.6.2, released March 20, 2022, and remained present through version 12.10.3, released September 17, 2026.\n\nTelegram corrected the issue in version 12.10.4 (build 7099), released September 24, 2026.\n\nThe confirmed scope of the research is limited to private voice calls on Telegram for Android ARM64 devices. There is currently no evidence establishing that the vulnerability also affects iOS, desktop applications or group calls.\n\nNo public CVE has been identified for the issue. Users should update Telegram for Android to version 12.10.4 or later to ensure the vulnerability code has been patched.\n\n## Why Traditional Code Security is Falling Behind\n\nThe Telegram vulnerability reflects a broader challenge: The pace of code creation is moving faster than the ability of security teams to review and validate it.\n\nAI-powered development tools are accelerating how quickly organizations write and ship software. But faster development doesn’t mean more secure code. According to [Sonar’s 2026 State of Code Developer Survey](https://www.sonarsource.com/blog/state-of-code-developer-survey-report-the-current-reality-of-ai-coding/), AI now accounts for 42% of committed code among surveyed developers, yet only 48% report always verifying AI-generated code before committing it.\n\nThe security implications are significant. [Veracode’s 2026 GenAI Code Security Report](https://view.ceros.com/veracode/genai-code-security-report2026/p/1) found that approximately 44% of AI code-generation tasks produced code containing a known vulnerability under its testing conditions.\n\nAt the same time, attackers are using AI to accelerate vulnerability discovery and exploitation. [Microsoft’s 2026 Digital Defense Report](https://www.microsoft.com/en-us/security/security-insider/threat-landscape/2026-digital-defense-report) highlights how AI is compressing the time between vulnerability discovery and weaponization, putting additional pressure on already stretched security teams.\n\nThe challenge is no longer just finding vulnerabilities. It’s finding, verifying and fixing them at the same pace that software and code are developed. The Telegram vulnerability is a prime example of how a small implementation mistake can introduce a remotely reachable security weakness. The flaw didn’t originate in a complex authentication mechanism or a sophisticated protocol design failure. It resulted from an incorrect field reference in a native C++ parser.\n\nBut because the vulnerability code processes data received from another participant during a voice call, an attacker could reach it through ordinary application functionality. This creates a broader challenge in complex software environments. Traditional point-in-time security assessments can’t keep up with new gaps, vulnerabilities and code changes as applications evolve.\n\nWe have the solution. Our AI-native platform is designed to help organizations continuously identify and remediate vulnerabilities.\n\nWe combine:\n\n1. **Continuous vulnerability scanning:** Daily scanning of source code to identify vulnerabilities as codebases evolve.\n2. **Verified security findings:** Analysis focused on establishing whether vulnerabilities are real and actionable, helping teams prioritize meaningful risks.\n3. **AI-powered patch generation:** Remediation recommendations and patches delivered through pull requests to help accelerate fixes.\n4. **Continuous validation:** A closed-loop process in which patches re-enter the scanning workflow to support ongoing security assurance.\n\n## From Vulnerability Discovery to Remediation: The NebuSec Approach\n\nThe Telegram discovery demonstrates the security expertise behind NebuSec’s AI-native platform. Built by researchers from a world-leading competitive hacking team, NebuSec combines advanced AI techniques with deep experience identifying and exploiting vulnerabilities in complex environments. Our team’s research spans widely deployed technologies, including the Linux kernel and Google Chrome.\n\nWe bring this expertise to a unified security platform that combines white-box code security, AI penetration testing, secrets scanning and supply chain security. Our code security capabilities continuously analyze source code, validate findings and generate patches as pull requests, while AI penetration testing identifies and verifies potential attack chains.\n\nOur goal is to help organizations address security weaknesses across both the code they develop and the systems they deploy.\n\n[Explore the NebuSec platform](https://nebusec.ai/) and learn how continuous vulnerability discovery and remediation can strengthen your application security.", "url": "https://wpnews.pro/news/one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory", "canonical_source": "https://nebusec.ai/research/telegram-android-call-memory-corruption/", "published_at": "2026-11-05 00:00:00+00:00", "updated_at": "2026-11-22 12:42:04.479955+00:00", "lang": "en", "topics": ["ai-safety"], "entities": ["NebuSec", "Telegram", "MediaStateMessage_parse()", "MediaState", "Android", "ARM64"], "also_reported_by": [], "takeaway": "A parser that allows an optional field to be omitted must not dereference that field elsewhere: Telegram's MediaStateMessage_parse() read videoState while handling videoRotation, so a MediaState message without videoState caused native memory corruption reachable from a single answered voice call.", "recommendation": {"advice": "Treat every attacker-supplied signaling message as untrusted: validate optional fields like videoState before dereferencing them, and fuzz native parsers with omitted-field variants to catch invalid object access.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory", "markdown": "https://wpnews.pro/news/one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory.md", "text": "https://wpnews.pro/news/one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory.txt", "jsonld": "https://wpnews.pro/news/one-call-is-all-it-takes-nebusec-researchers-uncover-telegram-android-memory.jsonld"}}