CVE-2025-29776 Details
Description
Azle is a WebAssembly runtime for TypeScript and JavaScript on ICP. Calling `setTimer` in Azle versions `0.27.0`, `0.28.0`, and `0.29.0` causes an immediate infinite loop of timers to be executed on the canister, each timer attempting to clean up the global state of the previous timer. The infinite loop will occur with any valid invocation of `setTimer`. The problem has been fixed as of Azle version `0.30.0`. As a workaround, if a canister is caught in this infinite loop after calling `setTimer`, the canister can be upgraded and the timers will all be cleared, thus ending the loop.
A vulnerability in the Azle WebAssembly runtime for TypeScript and JavaScript on ICP has been identified. In Azle versions 0.27.0, 0.28.0, and 0.29.0, invoking the 'setTimer' function creates an immediate infinite loop. This loop consists of timers that continuously execute, with each one trying to clean up the global state left by the previous timer. The issue arises with any valid 'setTimer' invocation. The vulnerability has been addressed in Azle version 0.30.0.
To resolve this issue, upgrade to Azle version 0.30.0. If a canister is already trapped in the infinite loop, it can be upgraded to clear all timers and end the loop.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 14, 2025CISA-ADP
Assessed Mar 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/demergent-labs/azle/releases/tag/0.30.0 | [email protected] | Release NotesVendor |
| https://github.com/demergent-labs/azle/security/advisories/GHSA-xc76-5pf9-mx8m | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| demergent-labs azle | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 14, 2025 | New CVE Received | [email protected] |
Volerion