CVE-2026-1998 micropython runtime.c mp_import_all memory corruption
MediumCVSS 4.8
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| micropython | = 1.0 | No fix listed |
| micropython | = 1.1 | No fix listed |
| micropython | = 1.2 | No fix listed |
| micropython | = 1.3 | No fix listed |
| micropython | = 1.4 | No fix listed |
| micropython | = 1.5 | No fix listed |
| micropython | = 1.6 | No fix listed |
| micropython | = 1.7 | No fix listed |
| micropython | = 1.8 | No fix listed |
| micropython | = 1.9 | No fix listed |
| micropython | = 1.10 | No fix listed |
| micropython | = 1.11 | No fix listed |
| micropython | = 1.12 | No fix listed |
| micropython | = 1.13 | No fix listed |
| micropython | = 1.14 | No fix listed |
| micropython | = 1.15 | No fix listed |
| micropython | = 1.16 | No fix listed |
| micropython | = 1.17 | No fix listed |
| micropython | = 1.18 | No fix listed |
| micropython | = 1.19 | No fix listed |
| micropython | = 1.20 | No fix listed |
| micropython | = 1.21 | No fix listed |
| micropython | = 1.22 | No fix listed |
| micropython | = 1.23 | No fix listed |
| micropython | = 1.24 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| micropython | = 1.25 | No fix listed |
| micropython | = 1.26 | No fix listed |
| micropython | = 1.27.0 | No fix listed |
| debian/micropython(Debian:13) | All versions | No fix listed |
| debian/micropython(Debian:13) | = 1.25.0+ds-1 | No fix listed |
| debian/micropython(Debian:13) | = 1.26.1+ds-1 | No fix listed |
| debian/micropython(Debian:14) | All versions | No fix listed |
| debian/micropython(Debian:14) | = 1.25.0+ds-1 | No fix listed |
| debian/micropython(Debian:14) | = 1.26.1+ds-1 | No fix listed |
| ubuntu/micropython(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:26.10) | All versions | No fix listed |
| micropython | <= 1.27.0 | No fix listed |
References
- VDB-344546 | micropython runtime.c mp_import_all memory corruption technical-description third-party-advisory vdb-entry
- VDB-344546 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #743396 | micropython 0fd0843 Memory Corruption exploit third-party-advisory vdb-entry
- github.com exploit issue-tracking
- github.com exploit issue-tracking
- github.com patch
- github.com product
- Debian Security Tracker CVE-2026-1998 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org