micropython runtime.c mp_import_all memory corruption
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | micropython | 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; 1.12; 1.13; 1.14; 1.15; 1.16; 1.17; 1.18; 1.19; 1.20; 1.21; 1.22; 1.23; 1.24; 1.25; 1.26; 1.27.0 | — | No fix listed | CNA |
- micropython Vendor— Affected 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; 1.12; 1.13; 1.14; 1.15; 1.16; 1.17; 1.18; 1.19; 1.20; 1.21; 1.22; 1.23; 1.24; 1.25; 1.26; 1.27.0 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:* | up to 1.27.0 | Vulnerable | Micropython |
- cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:* Versions up to 1.27.0 Vulnerable ·Micropython
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-1998
- 2026-10-03 Alias added: GHSA-p2vv-8mpq-57x2
References
Exploit 3
More Micropython vulnerabilities
- TI-2024-08308 MicroPython objint.c mpz_as_bytes heap-based overflow CVSS 4.0MEDIUM 6.9
- TI-2024-08306 MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow CVSS 4.0MEDIUM 6.9
- TI-2024-08307 MicroPython objarray.c use after free CVSS 4.0MEDIUM 6.3
- TI-2023-06546 MicroPython objslice.c slice_indices heap-based overflow CVSS 3.1CRITICAL 9.8
- TI-2023-06540 MicroPython modselect.c poll_set_add_fd use after free CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-1998 · CVE Program
- CVE-2026-1998 · NVD
- FIRST EPSS
- GHSA-p2vv-8mpq-57x2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-1998 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences