CVE-2025-70955
A Stack Overflow vulnerability was discovered in the TON Virtual …
A Stack Overflow vulnerability was discovered in the TON Virtual Machine (TVM) before v2024.10. The vulnerability stems from the improper handling of vmstate and continuation jump instructions, which allow for continuous dynamic tail calls. An attacker can exploit this by crafting a smart contract with deeply nested jump logic. Even within permissible gas limits, this nested execution exhausts the host process's stack space, causing the validator node to crash. This results in a Denial of Service (DoS) for the TON blockchain network.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/Lucian-code233/25b0a13be569db9160340d9ecd2fdf0d
- github.com/ton-blockchain/ton/commit/b5734d2e30b9c93cfdacb4ea37c9ebdf11ca5d49#diff-17eca9d
- github.com/ton-blockchain/ton/releases/tag/v2024.10#:~:text=krigga%20%28emulator%29%2C-%2C
- mp.weixin.qq.com/s/wy2ea6udkNZzIsp1K2LEOQ
- nvd.nist.gov/vuln/detail/CVE-2025-70955
- cve.org/CVERecord?id=CVE-2025-70955
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.