Researcher connorshea discovered a vulnerability in the QuickJS-NG JavaScript engine, which is used to operate interactive messages from Telegram bots. The vulnerability allows access to already freed application memory.
The vulnerability enables sandbox escape and code execution
According to the description, exploiting the flaw may lead to escaping the application's protected environment (sandbox) and executing malicious code on the user’s device.
QuickJS-NG is used for Telegram bot interactive messages
The vulnerability specifically affects QuickJS-NG, which is used when processing interactive messages from bots. Details have been published in the discussion on GitHub.
Recommendations for users
It is currently advised to avoid interacting with unfamiliar bots and opening suspicious messages in Telegram until patches are released.
