Buffer overflow in Micropython
CVE-2026-1998
A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function mp_import_all of the file py/runtime.c. This manipulation causes memory corruption. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 570744d06c5ba9dba59b4c3f432ca4f0abd396b6. It is suggested to install a patch to address this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Micropython
- Micropython — versions 1.0, 1.1, 1.2
Weakness classification (CWE)
References
- VDB-344546 | micropython runtime.c mp_import_all memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-344546 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #743396 | micropython 0fd0843 Memory Corruption (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/micropython/micropython/issues/18639 (issue-tracking, Exploit, Issue Tracking)
- github.com/micropython/micropython/pull/18671 (issue-tracking, Exploit, Issue Tracking)
- github.com/micropython/micropython/issues/18639 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 (Patch, patch)
- github.com/micropython/micropython/ (Product, product)