7.5high
A State Pollution vulnerability was discovered in the TON Virtual Machine (TVM) before v2025.04.
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
A State Pollution vulnerability was discovered in the TON Virtual Machine (TVM) before v2025.04. The issue exists in the RUNVM instruction logic (VmState::run_child_vm), which is responsible for initializing child virtual machines. The operation moves critical resources (specifically libraries and log) from the parent state to a new child state in a non-atomic manner. If an Out-of-Gas (OOG) exception occurs after resources are moved but before the state transition is finalized, the parent VM retains a corrupted state where these resources are emptied/invalid. Because RUNVM supports gas isolation, the parent VM continues execution with this corrupted state, leading to unexpected behavior or denial of service within the contract's context.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
A State Pollution vulnerability was discovered in the TON Virtual Machine (TVM) before v2025.04. The issue exists in the RUNVM instruction logic (VmState::run_child_vm), which is responsible for initializing child virtual machines. The operation moves critical resources (specifically libraries and log) from the parent state to a new child state in a non-atomic manner. If an Out-of-Gas (OOG) exception occurs after resources are moved but before the state transition is finalized, the parent VM retains a corrupted state where these resources are emptied/invalid. Because RUNVM supports gas isolation, the parent VM continues execution with this corrupted state, leading to unexpected behavior or denial of service within the contract's context.
NVD (es)
Se descubrió una vulnerabilidad de contaminación de estado en la Máquina Virtual TON (TVM) antes de la v2025.04. El problema existe en la lógica de la instrucción RUNVM (VmState::run_child_vm), que es responsable de inicializar máquinas virtuales secundarias. La operación mueve recursos críticos (específicamente librerías y registro) del estado padre a un nuevo estado secundario de manera no atómica. Si ocurre una excepción de Out-of-Gas (OOG) después de que los recursos son movidos pero antes de que la transición de estado sea finalizada, la VM padre retiene un estado corrupto donde estos recursos están vacíos/inválidos. Debido a que RUNVM soporta aislamiento de gas, la VM padre continúa la ejecución con este estado corrupto, lo que lleva a un comportamiento inesperado o denegación de servicio dentro del contexto del contrato.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-70956 changed 2026-02-17 | CVE Terms of Use |
| NVD | CVE-2025-70956 changed 2026-06-17 | Public domain |