{"id":"CVE-2025-29776","published":"2025-03-14T13:13:27Z","modified":"2025-03-15T20:49:42Z","title":"Azle calling `setTimer` causes infinite loop of timers","vendor":"demergent-labs","product":"azle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00378,"percentile":0.32629,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/demergent-labs/azle/security/advisories/GHSA-xc76-5pf9-mx8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/demergent-labs/azle/releases/tag/0.30.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":6.53},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"demergent-labs","affectedVersions":[{"vendor":"demergent-labs","product":"azle","versions":[">= 0.27.0, < 0.30.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-14T14:46:01.696959Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"azle","vulnerableRanges":[">=0.27.0, <0.30.0"],"patched":["0.30.0"],"from":["GHSA-xc76-5pf9-mx8m"],"provenance":"source"}],"summary":{"text":"Azle, a WebAssembly runtime for TypeScript and JavaScript on ICP, has a flaw in versions 0.27.0 through 0.29.0 where calling setTimer triggers an infinite loop of timers on the canister, each attempting to clean up the global state of the previous one. Any valid invocation of setTimer is enough to trigger it, with no authentication or user interaction required, and the impact is availability loss on the affected canister.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:20Z"},"euvd":{"id":"EUVD-2025-6418","exploited":false,"provenance":"source"}}