CVE-2024-11991

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dfinity:motoko:*:*:*:*:*:*:*:*

History

08 Dec 2025, 18:51

Type Values Removed Values Added
CPE cpe:2.3:a:dfinity:motoko:*:*:*:*:*:*:*:*
First Time Dfinity motoko
Dfinity
References () https://github.com/dfinity/motoko/pull/4677 - () https://github.com/dfinity/motoko/pull/4677 - Issue Tracking, Patch
References () https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3 - () https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3 - Vendor Advisory
Summary
  • (es) El recolector de basura incremental de Motoko se ve afectado por un error de acceso a memoria no inicializada, causado por el uso incorrecto de barreras de escritura en algunas ubicaciones. Esta vulnerabilidad podría permitir el acceso de lectura o escritura no autorizado a la memoria de un contenedor. Sin embargo, para explotar este error, es necesario que el contenedor habilite el recolector de basura incremental o la persistencia ortogonal mejorada, que son funciones no predeterminadas en Motoko.

09 Dec 2024, 15:15

Type Values Removed Values Added
New CVE

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