Skip to main content
VulnerabilityPublished Updated

CVE-2025-70956: TON Virtual Machine · Prototype Pollution

Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2025-70956, developers and operators of the TON Virtual Machine should implement atomic state transitions when moving resources between parent and child VMs. This can be achieved by redesigning the RUNVM instruction logic to ensure that resource transfer and state finalization occur as a single atomic operation, preventing partial state corruption if an OOG exception occurs. Additionally, introducing robust exception handling and rollback mechanisms to restore the parent VM state upon failure during child VM initialization will prevent corrupted states from persisting. Monitoring and alerting for OOG exceptions during contract execution can help detect exploitation attempts or abnormal behavior early. Smart contract developers should also design contracts to minimize gas exhaustion risks and test for edge cases involving resource transfers. Until official patches are released, organizations should consider restricting or closely monitoring contract deployments that utilize RUNVM instructions. Participation in the TON developer community and applying updates promptly once patches become available is critical. Finally, conducting thorough code audits focusing on VM state management and resource handling will reduce the risk of similar vulnerabilities.

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.

References

Community reviews

Loading reviews…