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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | micropython | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.21, 1.22, 1.23, 1.24, 1.25, 1.26, 1.27.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | micropython | No fix yet | — |
| Debian 13 | micropython | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | micropython | No fix yet | — |
| Ubuntu 26.04 LTS | micropython | No fix yet | — |
| Ubuntu 25.10 | micropython | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | micropython | No fix yet | — |
| Ubuntu Pro 22.04 LTS | micropython | No fix yet | — |
| Ubuntu Pro 20.04 LTS | micropython | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | micropython | 1.26.1-2.1 | openSUSE-SU-2026:10156-1 |
| openSUSE Leap 16.0 | micropython | 1.26.1-bp160.1.1 | openSUSE-SU-2026:20199-1 |
Advisories 2
- openSUSE-SU-2026:20199-1 Security update for micropython SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10156-1 micropython-1.26.1-2.1 on GA media SUSE / openSUSE Security Updates · Feb 7, 2026
References
- VDB-344546 | micropython runtime.c mp_import_all memory corruption vdb-entry technical-description
- VDB-344546 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #743396 | micropython 0fd0843 Memory Corruption third-party-advisory
- https://github.com/micropython/micropython/issues/18639 issue-tracking
- https://github.com/micropython/micropython/pull/18671 issue-tracking
- https://github.com/micropython/micropython/issues/18639#issue-3780651410 exploit issue-tracking
- https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 patch
- https://github.com/micropython/micropython/ product