{"id":"CVE-2026-1998","aliases":["DEBIAN-CVE-2026-1998","EUVD-2026-5694","GHSA-p2vv-8mpq-57x2","UBUNTU-CVE-2026-1998","openSUSE-SU-2026:10156-1","openSUSE-SU-2026:20199-1"],"status":"published","title":"micropython runtime.c mp_import_all memory corruption","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.","severity":{"version":"4.0","score":4.8,"vector":"CVSS: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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00225,"percentile":0.13267,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-787"],"published":"2026-02-06T00:00:00Z","modified":"2026-10-28T10:50:36Z","fixes":[{"ecosystem":"openSUSE:Tumbleweed","package":"micropython","fixed_in":["1.26.1-2.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"micropython","fixed_in":["1.26.1-bp160.1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0+ds-1","1.26.1+ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0+ds-1","1.26.1+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-1","1.12-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17+ds-1ubuntu1","1.17+ds-1.1","1.17+ds-1.1ubuntu2","1.17+ds-1.1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.1+ds-1","1.22.1+ds-1","1.22.1+ds-1build1","1.22.1+ds-1build2","1.22.1+ds-1ubuntu0.24.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.1+ds-1","1.25.0+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.26.1+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0+ds-1","1.26.1+ds-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.1-2.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"micropython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.1-bp160.1.1"}]}]}],"products":[{"vendor":"micropython","product":"micropython"}],"references":[{"url":"https://vuldb.com/?id.344546","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.344546","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.743396","tags":["third-party-advisory","Exploit","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://github.com/micropython/micropython/issues/18639","tags":["issue-tracking","Exploit","Issue Tracking","report"]},{"url":"https://github.com/micropython/micropython/pull/18671","tags":["issue-tracking","Exploit","Issue Tracking","report"]},{"url":"https://github.com/micropython/micropython/issues/18639#issue-3780651410","tags":["exploit","issue-tracking","Exploit","Issue Tracking","report"]},{"url":"https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6","tags":["patch","Patch","fix","report"]},{"url":"https://github.com/micropython/micropython/","tags":["product","Product","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1998","tags":["advisory"]},{"url":"https://github.com/micropython/micropython"},{"url":"https://github.com/advisories/GHSA-p2vv-8mpq-57x2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1998.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-1998","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-1998","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-1998","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-1998","tags":["web"]},{"url":"https://bugzilla.suse.com/1257803","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-1998","title":"micropython runtime.c mp_import_all memory corruption","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.","status":"published","published":"2026-02-06T06:02:08.671Z","modified":"2026-02-23T09:22:01Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS: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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","level":"low","assessor":"cna"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","level":"low","assessor":"cna"},{"version":"2.0","score":1.7,"vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:20:00.879257Z"}],"euvd":[{"id":"EUVD-2026-5694","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.","status":"published","published":"2026-02-06T06:02:08Z","modified":"2026-02-23T09:22:01Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS: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","level":"medium"}],"updated_at":"2026-11-02T19:48:33.639232Z"}],"ghsa":[{"id":"GHSA-p2vv-8mpq-57x2","title":"A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function...","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.","status":"published","published":"2026-02-06T09:30:28Z","modified":"2026-02-17T21:32:21Z","cvss":[{"version":"4.0","score":1.9,"vector":"CVSS: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","level":"low"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T15:06:14.396911Z"}],"nvd":[{"id":"CVE-2026-1998","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.","status":"published","published":"2026-02-06T07:16:12.553Z","modified":"2026-06-17T10:16:51.08Z","cvss":[{"version":"4.0","score":1.9,"vector":"CVSS: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","level":"low","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":1.7,"vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","level":"low","assessor":"secondary"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:12:05.149641Z"}],"osv":[{"id":"CVE-2026-1998","title":"micropython runtime.c mp_import_all memory corruption","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.","status":"published","published":"2026-02-06T06:02:08.671Z","modified":"2026-10-28T10:50:36.699221681Z","cvss":[{"version":"4.0","score":1.9,"vector":"CVSS: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","level":"low"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:44:58.024074Z"},{"id":"DEBIAN-CVE-2026-1998","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.","status":"published","published":"2026-02-06T07:16:12.553Z","modified":"2026-10-01T03:02:57.292203856Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:53.097669Z"},{"id":"UBUNTU-CVE-2026-1998","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.","status":"published","published":"2026-02-06T07:16:00Z","modified":"2026-10-17T12:58:06.555752566Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":1.9,"vector":"CVSS: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","level":"low"}],"updated_at":"2026-11-02T16:56:01.334185Z"},{"id":"openSUSE-SU-2026:10156-1","title":"micropython-1.26.1-2.1 on GA media","description":"These are all security issues fixed in the micropython-1.26.1-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-02-06T00:00:00Z","modified":"2026-02-07T14:00:13.637399Z","updated_at":"2026-11-02T16:58:38.101535Z"},{"id":"openSUSE-SU-2026:20199-1","title":"Security update for micropython","description":"This update for micropython fixes the following issues:\n\nChanges in micropython:\n\n- CVE-2026-1998: Fixed segmentation fault in `mp_map_lookup` via `mp_import_all` (bsc#1257803).\n\n- Version 1.26.1\n  * esp32: update esp_tinyusb component to v1.7.6\n  * tools: add an environment variable MICROPY_MAINTAINER_BUILD\n  * esp32: add IDF Component Lockfiles to git repo\n  * shared/tinyusb: fix hang from new tx_overwritabe_if_not_connected flag\n  * shared/tinyusb/mp_usbd_cdc: rewrite USB CDC TX loop\n  * tools/mpremote: don't apply Espressif DTR/RTS quirk to TinyUSB CDC dev\n\n- Fix building on single core systems\n  * Skip tests/thread/stress_schedule.py when single core system detected\n","status":"published","published":"2026-02-11T16:38:19Z","modified":"2026-03-23T04:54:47.362916Z","updated_at":"2026-11-02T16:58:41.463445Z"}]}}
