{"schemaVersion":3,"id":"CVE-2024-8946","aliases":["GHSA-74qm-4v7r-jw2f","PYSEC-2024-91","PYSEC-2024-93","PYSEC-2024-95","PYSEC-2024-96","UBUNTU-CVE-2024-8946","DEBIAN-CVE-2024-8946"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 29943546343c92334e8518695a11fc0e2ceea68b. It is recommended to apply a patch to fix this issue. In the VFS unmount process, the comparison between the mounted path string and the unmount requested string is based solely on the length of the unmount string, which can lead to a heap buffer overflow read.","dates":{"published":"2024-09-17T18:31:04.213Z","modified":"2024-09-17T20:14:27.949Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"CVE.org","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/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":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/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":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/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":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/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":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/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":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01015,"percentile":0.62726,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01015},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01015,"percentile":0.62726}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01015,"percentile":0.62726}]},"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-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.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.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.23.0","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":"< 29943546343c92334e8518695a11fc0e2ceea68b","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 3.3.3.post3 | < 29943546343c92334e8518695a11fc0e2ceea68b | 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":"< 29943546343c92334e8518695a11fc0e2ceea68b","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"micropython-os-path","name":"micropython-os-path","label":"micropython-os-path","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/micropython-os-path","purlType":"pypi","versions":[{"text":"≤ 0.1.3","noFixRecorded":false,"fixedIn":null},{"text":"< 29943546343c92334e8518695a11fc0e2ceea68b","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.1.3 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"micropython-string","name":"micropython-string","label":"micropython-string","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/micropython-string","purlType":"pypi","versions":[{"text":"≤ 0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 29943546343c92334e8518695a11fc0e2ceea68b","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.277764","label":"vuldb.com?id.277764","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","WEB","REPORT","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.277764","label":"vuldb.com?ctiid.277764","hostname":"vuldb.com","tags":["Signature","Permissions Required","WEB","REPORT"]},{"url":"https://vuldb.com/?submit.409312","label":"vuldb.com?submit.409312","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","REPORT"]},{"url":"https://github.com/micropython/micropython/issues/13006","label":"github.com/micropython/micropython/issues/13006","hostname":"github.com","tags":["Exploit","Issue Tracking","WEB","REPORT","EVIDENCE"]},{"url":"https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455","label":"github.com/micropython/micropython/issues/13006","hostname":"github.com","tags":["Issue Tracking","WEB","REPORT","EVIDENCE","Exploit","Third Party Advisory"]},{"url":"https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b","label":"github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b","hostname":"github.com","tags":["Patch","WEB","FIX","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8946","label":"nvd.nist.gov/vuln/detail/CVE-2024-8946","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-91.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-91.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-93.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-93.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-os-path/PYSEC-2024-95.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-os-path/PYSEC-2024-95.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/micropython-string/PYSEC-2024-96.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/micropython-string/PYSEC-2024-96.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-74qm-4v7r-jw2f","label":"github.com/advisories/GHSA-74qm-4v7r-jw2f","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-8946","label":"ubuntu.com/security/CVE-2024-8946","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8946","label":"www.cve.org/CVERecord?id=CVE-2024-8946","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-8946","label":"security-tracker.debian.org/tracker/CVE-2024-8946","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7472-1"],"duplicates":[],"related":["USN-7472-1"]},"timeline":[{"kind":"published","date":"2024-09-17T18:31:04.213Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T20:14:27.949Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:42:28.201Z","stale":false,"partial":false}}