CVE-2026-1998
micropython runtime.c mp_import_all memory corruption
- State
- Published
- Severity
- 4.8 Medium
- Published
- Feb 6, 2026
- Updated
- Feb 23, 2026
- Reserved
- Feb 5, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
- CWE-119 Memory Corruption
Affected Products
| Product | Versions |
|---|---|
micropythonn/a |
|
References
- VDB-344546 | micropython runtime.c mp_import_all memory corruptionvdb-entrytechnical-description
- VDB-344546 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #743396 | micropython 0fd0843 Memory Corruptionthird-party-advisory
- https://github.com/micropython/micropython/issues/18639issue-tracking
- https://github.com/micropython/micropython/pull/18671issue-tracking
- https://github.com/micropython/micropython/issues/18639#issue-3780651410exploitissue-tracking
- https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6patch
- https://github.com/micropython/micropython/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.