Buffer overflow in Micropython
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.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (10.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Micropython
- N/a Micropython — versions 1.0, 1.1, 1.2
Weakness classification (CWE)
References
- cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
- cna@vuldb.com (Exploit, VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking)
- cna@vuldb.com (issue-tracking, Exploit, exploit, Issue Tracking)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (Product, product)
Frequently asked questions
- What is CVE-2026-1998?
- CVE-2026-1998 is a low-severity vulnerability in Micropython, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2026-02-06.
- How severe is CVE-2026-1998?
- Low severity. CVSS v3 base score is 3.3 out of 10.