# CVE-2024-8946: MicroPython VFS Unmount vfs.c mp\_vfs\_umount heap-based overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-17 · Modified: 2024-09-17
- 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
- Record: https://cvemate.com/vulnerability/CVE-2024-8946 · JSON: https://cvemate.com/vulnerability/CVE-2024-8946/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, CVE.org) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 1.006%, percentile 64.147%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian micropython (Debian): \< 1.24.0+ds-1
- ubuntu micropython (Ubuntu): \< 1.12-1ubuntu0.1~esm1 \| \< 1.17+ds-1.1ubuntu2+esm1 \| \< 1.22.1+ds-1ubuntu0.24.04.1~esm1
- micropython micropython: 1.23.0
- PyPI micropython-copy (PyPI): ≤ 3.3.3.post3 \| \< 29943546343c92334e8518695a11fc0e2ceea68b \| All versions (No fix recorded)
- PyPI micropython-io (PyPI): ≤ 0.1 \| \< 29943546343c92334e8518695a11fc0e2ceea68b \| All versions (No fix recorded)
- PyPI micropython-os-path (PyPI): ≤ 0.1.3 \| \< 29943546343c92334e8518695a11fc0e2ceea68b \| All versions (No fix recorded)
- PyPI micropython-string (PyPI): ≤ 0.1 \| \< 29943546343c92334e8518695a11fc0e2ceea68b \| All versions (No fix recorded)

## References

- <https://vuldb.com/?id.277764>
- <https://vuldb.com/?ctiid.277764>
- <https://vuldb.com/?submit.409312>
- <https://github.com/micropython/micropython/issues/13006>
- <https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455>
- <https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8946>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-91.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-93.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-os-path/PYSEC-2024-95.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-string/PYSEC-2024-96.yaml>
- <https://github.com/advisories/GHSA-74qm-4v7r-jw2f>
- <https://ubuntu.com/security/CVE-2024-8946>
- <https://www.cve.org/CVERecord?id=CVE-2024-8946>
- <https://ubuntu.com/security/notices/USN-7472-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-8946>

---

Data as of 2026-12-05T06:19:23.944Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
