{"schemaVersion":3,"id":"CVE-2024-8947","aliases":["GHSA-pwwp-3q7j-9mx8","PYSEC-2024-92","PYSEC-2024-94","UBUNTU-CVE-2024-8947","DEBIAN-CVE-2024-8947","openSUSE-SU-2026:10704-1"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file py/objarray.c. The manipulation leads to use after free. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 1.23.0 is able to address this issue. The identifier of the patch is 4bed614e707c0644c06e117f848fa12605c711cd. It is recommended to upgrade the affected component. In micropython objarray component, when a bytes object is resized and copied into itself, it may reference memory that has already been freed.","dates":{"published":"2024-09-17T18:31:06.916Z","modified":"2024-09-17T20:11:29.093Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.6,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01029,"percentile":0.63162,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01029},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01029,"percentile":0.63162}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01029,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01029,"percentile":0.63162}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MICROPYTHON_MICROPYTHON","name":"Micropython","source":"github","url":"https://github.com/micropython/micropython/issues/12887","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"micropython","name":"micropython","label":"micropython","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/micropython","purlType":"deb","versions":[{"text":"< 1.24.0+ds-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.0+ds-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"micropython","name":"micropython","label":"micropython","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/micropython","purlType":"deb","versions":[{"text":"< 1.12-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.17+ds-1.1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.22.1+ds-1ubuntu0.24.04.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12-1ubuntu0.1~esm1 | < 1.17+ds-1.1ubuntu2+esm1 | < 1.22.1+ds-1ubuntu0.24.04.1~esm1","eol":null,"hubHref":null},{"vendor":"micropython","product":"micropython","name":"micropython","label":"micropython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.22.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.22.2","eol":null,"hubHref":"/vendor/micropython/micropython"},{"vendor":"PyPI","product":"micropython-copy","name":"micropython-copy","label":"micropython-copy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/micropython-copy","purlType":"pypi","versions":[{"text":"≤ 3.3.3.post3","noFixRecorded":false,"fixedIn":null},{"text":"< 4bed614e707c0644c06e117f848fa12605c711cd","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 3.3.3.post3 | < 4bed614e707c0644c06e117f848fa12605c711cd | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"micropython-io","name":"micropython-io","label":"micropython-io","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/micropython-io","purlType":"pypi","versions":[{"text":"≤ 0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4bed614e707c0644c06e117f848fa12605c711cd","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.1 | < 4bed614e707c0644c06e117f848fa12605c711cd | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"micropython&distro=openSUSE Tumbleweed","name":"micropython","label":"micropython&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/micropython&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.28.0-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.28.0-2.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.277765","label":"vuldb.com?id.277765","hostname":"vuldb.com","tags":["VDB Entry","WEB","REPORT","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.277765","label":"vuldb.com?ctiid.277765","hostname":"vuldb.com","tags":["Signature","Permissions Required","WEB","REPORT"]},{"url":"https://vuldb.com/?submit.409316","label":"vuldb.com?submit.409316","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","REPORT"]},{"url":"https://github.com/micropython/micropython/issues/13283","label":"github.com/micropython/micropython/issues/13283","hostname":"github.com","tags":["Issue Tracking","WEB","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709","label":"github.com/micropython/micropython/issues/13283","hostname":"github.com","tags":["Issue Tracking","WEB","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd","label":"github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd","hostname":"github.com","tags":["Patch","WEB","FIX","REPORT"]},{"url":"https://github.com/micropython/micropython/releases/tag/v1.23.0","label":"github.com/micropython/micropython/releases/tag/v1.23.0","hostname":"github.com","tags":["Patch","WEB","REPORT","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8947","label":"nvd.nist.gov/vuln/detail/CVE-2024-8947","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-pwwp-3q7j-9mx8","label":"github.com/advisories/GHSA-pwwp-3q7j-9mx8","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-8947","label":"ubuntu.com/security/CVE-2024-8947","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8947","label":"www.cve.org/CVERecord?id=CVE-2024-8947","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7472-1","label":"ubuntu.com/security/notices/USN-7472-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-8947","label":"security-tracker.debian.org/tracker/CVE-2024-8947","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-8947","label":"www.suse.com/security/cve/CVE-2024-8947","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-7472-1"],"duplicates":[],"related":["USN-7472-1"]},"timeline":[{"kind":"published","date":"2024-09-17T18:31:06.916Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T20:11:29.093Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:18:01.043Z","stale":false,"partial":false}}