Every CVE Search/ Get API key

CVE-2026-1998

micropython runtime.c mp_import_all memory corruption

4.8 MediumFix available

CVE-2026-1998 is a medium vulnerability (CVSS 4.8) in Micropython, published February 6, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 13th percentile. Fixed in micropython 1.26.1-2.1.

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.22%Up 0.2 points since Feb 6, 2026
90%50%10%1%

What each source reports

CVE List Score used 4.8

micropython runtime.c mp_import_all memory corruption

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.

Record
CVE-2026-1998
CVSS 4.0
4.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:P
CVSS 3.1
3.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:C
CVSS 3.0
3.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:C
CVSS 2.0
1.7 AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C
Weakness
CWE-119
Updated
2026-11-02
EUVDEUVD-2026-5694 4.8

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.

Record
EUVD-2026-5694
CVSS 4.0
4.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:P
Updated
2026-11-02
GitHub AdvisoriesGHSA-p2vv-8mpq-57x2 1.9

A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function...

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.

Record
GHSA-p2vv-8mpq-57x2
CVSS 4.0
1.9 LowCVSS: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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-119, CWE-787
Updated
2026-11-02
NVD 1.9

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.

Record
CVE-2026-1998
CVSS 4.0
1.9 LowCVSS: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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
1.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P
Weakness
CWE-119, CWE-787
Updated
2026-11-02
OSV 1.9

micropython runtime.c mp_import_all memory corruption

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.

Record
CVE-2026-1998
CVSS 4.0
1.9 LowCVSS: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:P
Weakness
CWE-119
Updated
2026-11-02
OSVDEBIAN-CVE-2026-1998 5.5

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.

Record
DEBIAN-CVE-2026-1998
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-1998 1.9

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.

Record
UBUNTU-CVE-2026-1998
CVSS 4.0
1.9 LowCVSS: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:P
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVopenSUSE-SU-2026:10156-1 No score

micropython-1.26.1-2.1 on GA media

These are all security issues fixed in the micropython-1.26.1-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10156-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20199-1 No score

Security update for micropython

This update for micropython fixes the following issues:

Changes in micropython:

  • CVE-2026-1998: Fixed segmentation fault in mp_map_lookup via mp_import_all (bsc#1257803).

  • Version 1.26.1

    • esp32: update esp_tinyusb component to v1.7.6
    • tools: add an environment variable MICROPY_MAINTAINER_BUILD
    • esp32: add IDF Component Lockfiles to git repo
    • shared/tinyusb: fix hang from new tx_overwritabe_if_not_connected flag
    • shared/tinyusb/mp_usbd_cdc: rewrite USB CDC TX loop
    • tools/mpremote: don't apply Espressif DTR/RTS quirk to TinyUSB CDC dev
  • Fix building on single core systems

    • Skip tests/thread/stress_schedule.py when single core system detected
Record
openSUSE-SU-2026:20199-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
micropython
Debian:13
All versions, plus listed versions
1.25.0+ds-11.26.1+ds-1
None known
micropython
Debian:14
All versions, plus listed versions
1.25.0+ds-11.26.1+ds-1
None known
micropython
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.12-11.12-1ubuntu0.1~esm1
None known
micropython
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
1.17+ds-1ubuntu11.17+ds-1.11.17+ds-1.1ubuntu21.17+ds-1.1ubuntu2+esm1
None known
micropython
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
1.19.1+ds-11.22.1+ds-11.22.1+ds-1build11.22.1+ds-1build21.22.1+ds-1ubuntu0.24.04.1~esm1
None known
micropython
Ubuntu:25.10
All versions, plus listed versions
1.24.1+ds-11.25.0+ds-1
None known
micropython
Ubuntu:26.10
All versions, plus listed versions
1.26.1+ds-1
None known
micropython
Ubuntu:26.04:LTS
All versions, plus listed versions
1.25.0+ds-11.26.1+ds-1
None known
micropython
openSUSE:Tumbleweed
before 1.26.1-2.1
1.26.1-2.1
micropython
openSUSE:Leap 16.0
before 1.26.1-bp160.1.1
1.26.1-bp160.1.1

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 9 moreShow less
MoveEnter Open