# CVE-2026-1998: micropython runtime.c mp\_import\_all memory corruption

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-06 · Modified: 2026-02-23
- Aliases: UBUNTU-CVE-2026-1998, DEBIAN-CVE-2026-1998, openSUSE-SU-2026:10156-1, openSUSE-SU-2026:20199-1
- Record: https://cvemate.com/vulnerability/CVE-2026-1998 · JSON: https://cvemate.com/vulnerability/CVE-2026-1998/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.225%, percentile 14.043%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian micropython (Debian): All versions (No fix recorded)
- ubuntu micropython (Ubuntu): All versions (No fix recorded)
- micropython micropython: ≤ 1.27.0
- opensuse micropython&distro=openSUSE Leap 16.0 (openSUSE): \< 1.26.1-bp160.1.1
- opensuse micropython&distro=openSUSE Tumbleweed (openSUSE): \< 1.26.1-2.1

## References

- <https://vuldb.com/?id.344546>
- <https://vuldb.com/?ctiid.344546>
- <https://vuldb.com/?submit.743396>
- <https://github.com/micropython/micropython/issues/18639>
- <https://github.com/micropython/micropython/pull/18671>
- <https://github.com/micropython/micropython/issues/18639#issue-3780651410>
- <https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6>
- <https://github.com/micropython/micropython/>
- <https://ubuntu.com/security/CVE-2026-1998>
- <https://www.cve.org/CVERecord?id=CVE-2026-1998>
- <https://security-tracker.debian.org/tracker/CVE-2026-1998>
- <https://www.suse.com/security/cve/CVE-2026-1998>
- <https://bugzilla.suse.com/1257803>

---

Data as of 2026-12-05T06:19:11.648Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
