CVE-2026-1998
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | forky | affected | |
| debian | sid | affected | |
| debian | trixie | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| micropython | micropython | {"endIncluding":"1.27.0"} | |
References
- https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6
- https://github.com/micropython/micropython/
- https://github.com/micropython/micropython/issues/18639
- https://github.com/micropython/micropython/issues/18639#issue-3780651410
- https://github.com/micropython/micropython/pull/18671
- https://vuldb.com/?ctiid.344546
- https://vuldb.com/?id.344546
- https://vuldb.com/?submit.743396
- https://security-tracker.debian.org/tracker/CVE-2026-1998
CWEs
CWE-119 CWE-787
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.