CVE-2026-1998

CVE-2026-1998 is a low-severity vulnerability in Micropython with a CVSS 3.x base score of 3.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.

Key facts

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.

Frequently asked questions

What is CVE-2026-1998?
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.
How severe is CVE-2026-1998?
CVE-2026-1998 has a CVSS 3.x base score of 3.3, rated low severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2026-1998 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (10th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-1998?
CVE-2026-1998 affects Micropython. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-1998?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-1998 have an EU (EUVD) identifier?
Yes. CVE-2026-1998 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-5694.
When was CVE-2026-1998 published?
CVE-2026-1998 was published on 2026-02-06 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Micropython

All CVEs affecting Micropython →

Other CWE-787 (Out-of-bounds Write) vulnerabilities

Browse all CWE-787 (Out-of-bounds Write) vulnerabilities →