Home / Internet Computer / ic-cdk / CVE-2024-7884
CVE-2024-7884: is it exploited, and which versions of Internet Computer ic-cdk are affected and fixed?
CVE-2024-7884 is a memory leak vulnerability in Internet Computer ic-cdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: ic_cdk from 0.8.0 before 0.8.2, ic_cdk from 0.9.0 before 0.9.3, ic_cdk from 0.10.0 before 0.10.1 and 5 more (GitHub advisory GHSA-rwq6-crjg-9cpw). Fixed in 0.8.2, 0.9.3, 0.10.1, 0.11.6 and 2 more (GitHub advisory GHSA-rwq6-crjg-9cpw). Severity: High (7.5, CVSS 3.1, from Dfinity).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-7884?
Memory leak when calling a canister method via `ic_cdk::call`
When a canister method is called via ic_cdk::call* , a new Future CallFuture is created and can be awaited by the caller to get the execution result. Internally, the state of the Future is tracked and stored in a struct called CallFutureState. A bug in the polling implementation of the CallFuture allows multiple references to be held for this internal state and not all references were dropped before the Future is resolved. Since we have unaccounted references held, a copy of the internal state ended up being persisted in the canister's heap and thus causing a memory leak. Impact Canisters built in Rust with ic_cdk and ic_cdk_timers are affected. If these canisters call a canister method, use timers or heartbeat, they will likely leak a small amount of memory on every such operation. In the worst case, this could lead to heap memory exhaustion triggered by an attacker. Motoko based canisters are not affected by the bug. PatchesThe patch has been backported to all minor versions between >= 0.8.0, <= 0.15.0. The patched versions available are 0.8.2, 0.9.3, 0.10.1, 0.11.6, 0.12.2, 0.13.5, 0.14.1, 0.15.1 and their previous versions have been yanked. WorkaroundsThere are no known workarounds at the moment. Developers are recommended to upgrade their canister as soon as possible to the latest available patched version of ic_cdk to avoid running out of Wasm heap memory. Upgrading the canisters (without updating `ic_cdk`) also frees the leaked memory but it's only a temporary solution.
From the CVE record by Dfinity, last updated September 5, 2024, 14:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Internet Computer | ic-cdk | from 0.8.0 before 0.8.2 from 0.9.0 before 0.9.3 from 0.10.0 before 0.10.1 from 0.11.0 before 0.11.5 from 0.12.0 before 0.12.2 from 0.13.0 before 0.13.4 from 0.14.0 before 0.14.1 from 0.15.0 before 0.15.1 | 0.8.2, 0.9.3, 0.10.1, 0.11.5, 0.11.6, 0.12.2, 0.13.4, 0.13.5, 0.14.1, 0.15.1 |
As the CVE record by Dfinity states it, last updated September 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | ic_cdk | >= 0.8.0, < 0.8.2 | 0.8.2 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.9.0, < 0.9.3 | 0.9.3 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.10.0, < 0.10.1 | 0.10.1 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.11.0, < 0.11.6 | 0.11.6 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.12.0, < 0.12.2 | 0.12.2 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.13.0, < 0.13.5 | 0.13.5 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.14.0, < 0.14.1 | 0.14.1 | GHSA-rwq6-crjg-9cpw |
| crates.io | ic_cdk | >= 0.15.0, < 0.15.1 | 0.15.1 | GHSA-rwq6-crjg-9cpw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 9, 2024. Summary: ic-cdk has a memory leak when calling a canister method via `ic_cdk::call`.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dfinity | canister developer kit for the internet computer | from 0.8.0 before 0.8.2 | application |
| dfinity | canister developer kit for the internet computer | from 0.9.0 before 0.9.3 | application |
| dfinity | canister developer kit for the internet computer | from 0.11.0 before 0.11.6 | application |
| dfinity | canister developer kit for the internet computer | from 0.12.0 before 0.12.2 | application |
| dfinity | canister developer kit for the internet computer | from 0.13.0 before 0.13.5 | application |
| dfinity | canister developer kit for the internet computer | 0.10.0 | application |
| dfinity | canister developer kit for the internet computer | 0.14.0 | application |
| dfinity | canister developer kit for the internet computer | 0.15.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:21 UTC.
How severe is CVE-2024-7884?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Dfinity |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-7884 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 5, 2024)
- EPSS
- 0.69% probability of exploitation activity in the next 30 days, percentile 54.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-401 Missing Release of Memory after Effective Lifetime
Where are the vendor advisories and references?
- https://github.com/dfinity/cdk-rs/pull/509
- https://docs.rs/ic-cdk/latest/ic_cdk/
- https://internetcomputer.org/docs/current/references/ic-interface-spec
When was it published, and where is the official record?
- Reserved
- August 16, 2024
- Published
- September 5, 2024, 13:01 UTC
- CVE record updated
- September 5, 2024, 14:42 UTC by Dfinity
- NVD
- Analyzed, last modified June 17, 2026, 08:21 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2024-7884
Is CVE-2024-7884 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Internet Computer ic-cdk are affected by CVE-2024-7884?
ic_cdk from 0.8.0 before 0.8.2, ic_cdk from 0.9.0 before 0.9.3, ic_cdk from 0.10.0 before 0.10.1, ic_cdk from 0.11.0 before 0.11.6, ic_cdk from 0.12.0 before 0.12.2, ic_cdk from 0.13.0 before 0.13.5 and 2 more, per the GitHub advisory GHSA-rwq6-crjg-9cpw. The tables above give every range the sources list.
Which version fixes CVE-2024-7884?
0.8.2, 0.9.3, 0.10.1, 0.11.6, 0.12.2 and 0.13.5, per the GitHub advisory GHSA-rwq6-crjg-9cpw. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-7884?
High (7.5, CVSS 3.1, from Dfinity). The severity table above shows each score with its source.
Where is the official record of CVE-2024-7884?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.