CVE-2026-1998 Details
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.
A memory corruption vulnerability has been identified in MicroPython versions prior to 1.27.0. The issue arises in the 'mp_import_all' function within 'py/runtime.c', where the import mechanism incorrectly processes certain object types, leading to a segmentation fault. This vulnerability requires local exploitation and has been assigned CVE-2026-1998.
Users are advised to update to MicroPython version 1.27.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 | [email protected] | Patch |
| https://github.com/micropython/micropython/ | [email protected] | Product |
| https://github.com/micropython/micropython/issues/18639 | [email protected] | ExploitIssue Tracking |
| https://github.com/micropython/micropython/issues/18639#issue-3780651410 | [email protected] | ExploitIssue Tracking |
| https://github.com/micropython/micropython/pull/18671 | [email protected] | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.344546 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344546 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.743396 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| micropython micropython | <= 1.27.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 17, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |