CVE-2026-1998

micropython runtime.c mp_import_all memory corruption

State
Published
Severity
4.8 Medium
Published
Feb 6, 2026
Updated
Feb 23, 2026
Reserved
Feb 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PVulDB
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
3.03.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
2.01.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
micropythonn/a
  • 1.0Affected
  • 1.1Affected
  • 1.2Affected
  • 1.3Affected
  • 1.4Affected
  • 1.5Affected
  • 1.6Affected
  • 1.7Affected
  • 1.8Affected
  • 1.9Affected
  • 1.10Affected
  • 1.11Affected
  • 1.12Affected
  • 1.13Affected
  • 1.14Affected
  • 1.15Affected
  • 1.16Affected
  • 1.17Affected
  • 1.18Affected
  • 1.19Affected
  • 1.20Affected
  • 1.21Affected
  • 1.22Affected
  • 1.23Affected
  • 1.24Affected
  • and 3 more versions

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.