CVE-2024-8946Micropython
Medium 6.9 No auth needed
Follow: this CVE · Micropython · Micropython We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 4.0
- 6.9
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Sep 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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
What happens
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.
What to do
- Apply the vendor's security update for Micropython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | micropython-copy |
≤ 3.3.3.post3 |
no fixed version | — |
| PyPI | micropython-copy |
all |
no fixed version | — |
| PyPI | micropython-io |
≤ 0.1 |
no fixed version | — |
| PyPI | micropython-io |
all |
no fixed version | — |
| PyPI | micropython-os-path |
≤ 0.1.3 |
no fixed version | — |
| PyPI | micropython-os-path |
all |
no fixed version | — |
| PyPI | micropython-string |
≤ 0.1 |
no fixed version | — |
| PyPI | micropython-string |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-74qm-4v7r-jw2f, PYSEC-2024-91, PYSEC-2024-93, PYSEC-2024-95, PYSEC-2024-96). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| micropython | micropython | 1.23.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Exploit Third Party Advisory
- vuldb.com Permissions Required
- vuldb.com Third Party Advisory
- vuldb.com Third Party Advisory