CVE-2026-1998: Micropython - Memory Corruption
- Cve: CVE-2026-1998
- Name: Micropython - Memory Corruption
- 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.
- Impact: Local attackers can corrupt memory, potentially leading to application crashes or arbitrary code execution.
- Remediation: Apply the patch 570744d06c5ba9dba59b4c3f432ca4f0abd396b6 or update to a version after 1.27.0.
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00225
- Epss percentile: 0.13228
- Assignee: [email protected]
- Published at: 2026-02-06T07:16:12Z
- Age in days: 291
- Modified at: 2026-06-17T10:16:51Z
- Patch available: yes
- Public exploits total: 4
- References total: 8
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-1998
- Nvd status: analyzed
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
| CWE-787 | Out-of-bounds Write |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2026-02-06
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 | Patch |
| https://github.com/micropython/micropython/issues/18639 | Exploit, Issue Tracking |
| https://github.com/micropython/micropython/issues/18639#issue-3780651410 | Exploit, Issue Tracking |
| https://github.com/micropython/micropython/pull/18671 | Exploit, Issue Tracking |
| https://vuldb.com/?submit.743396 | Exploit, Third Party Advisory, VDB Entry |
| https://vuldb.com/?id.344546 | Third Party Advisory, VDB Entry |
| https://github.com/micropython/micropython/ | Product |
| https://vuldb.com/?ctiid.344546 | Permissions Required, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| micropython:micropython | <= 1.27.0 | no | nvd | /v1/products/micropython/micropython |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| micropython/micropython | issues, pull | yes | /v1/repositories/micropython/micropython |
| dpgeorge/micropython | commit | yes | /v1/repositories/dpgeorge/micropython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 4
- Public exploit first date: 2026-02-06
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts