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
- Severity: Low (CVSS 3.x base score 3.3)
- CVSS v2: 1.7
- CVSS v4: 1.9
- EPSS exploit prediction: 0% (10th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-5694
- Weakness: CWE-787
- Affected product: Micropython
- Published:
- Last modified:
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
- 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
Affected products (1)
- cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:*
More vulnerabilities in Micropython
- CVE-2024-8948 — High (CVSS 7.3): A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function…
- CVE-2024-8946 — High (CVSS 7.3): A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function…
- CVE-2023-7158 — High (CVSS 7.3): A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function…
- CVE-2024-8947 — Medium (CVSS 5.6): A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an…
- CVE-2023-7152 — Medium (CVSS 5.5): A vulnerability, which was classified as critical, has been found in MicroPython 1.21.0/1.22.0-preview. Affected by…
All CVEs affecting Micropython →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…