{"cve":"CVE-2024-8946","nvd":{"published":"2024-09-17T19:15:29.220","modified":"2026-06-17T08:23:36.507","status":"Analyzed","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.","cvss_v4":{"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-787","CWE-122"],"references":["https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b","https://github.com/micropython/micropython/issues/13006","https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455","https://vuldb.com/?ctiid.277764","https://vuldb.com/?id.277764"],"products":["micropython:micropython"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-8946","score":0.01015,"percentile":0.63281,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-74qm-4v7r-jw2f","url":"https://osv.dev/vulnerability/GHSA-74qm-4v7r-jw2f","summary":"Heap-based Buffer Overflow in MicroPython","modified":"2024-09-25T18:42:15.413804Z","packages":[{"ecosystem":"PyPI","name":"micropython-copy","purl":"pkg:pypi/micropython-copy","ranges":["<=3.3.3.post3"],"fixed":[]},{"ecosystem":"PyPI","name":"micropython-io","purl":"pkg:pypi/micropython-io","ranges":["<=0.1"],"fixed":[]},{"ecosystem":"PyPI","name":"micropython-os-path","purl":"pkg:pypi/micropython-os-path","ranges":["<=0.1.3"],"fixed":[]},{"ecosystem":"PyPI","name":"micropython-string","purl":"pkg:pypi/micropython-string","ranges":["<=0.1"],"fixed":[]}]},{"id":"PYSEC-2024-91","url":"https://osv.dev/vulnerability/PYSEC-2024-91","summary":"","modified":"2024-09-25T18:42:15.413804Z","packages":[{"ecosystem":"PyPI","name":"micropython-copy","purl":"pkg:pypi/micropython-copy","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2024-93","url":"https://osv.dev/vulnerability/PYSEC-2024-93","summary":"","modified":"2024-09-25T18:42:15.413804Z","packages":[{"ecosystem":"PyPI","name":"micropython-io","purl":"pkg:pypi/micropython-io","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2024-95","url":"https://osv.dev/vulnerability/PYSEC-2024-95","summary":"","modified":"2024-09-25T18:42:15.413804Z","packages":[{"ecosystem":"PyPI","name":"micropython-os-path","purl":"pkg:pypi/micropython-os-path","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2024-96","url":"https://osv.dev/vulnerability/PYSEC-2024-96","summary":"","modified":"2026-06-10T17:02:11.021945164Z","packages":[{"ecosystem":"PyPI","name":"micropython-string","purl":"pkg:pypi/micropython-string","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}