Motoko's incremental garbage collector is impacted by an uninitialized memory access bug, caused by incorrect use of write barriers in a few locations. This vulnerability could potentially allow unauthorized read or write access to a Canister's memory. However, exploiting this bug requires the Canister to enable the incremental garbage collector or enhanced orthogonal persistence, which are non-default features in Motoko.
References
| Link | Resource |
|---|---|
| https://github.com/dfinity/motoko/pull/4677 | Issue Tracking Patch |
| https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3 | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2024-12-09 15:15
Updated : 2025-12-08 18:51
NVD link : CVE-2024-11991
Mitre link : CVE-2024-11991
CVE.ORG link : CVE-2024-11991
JSON object : View
Products Affected
dfinity
- motoko
CWE
CWE-908
Use of Uninitialized Resource
