CVE-2024-8946: MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
Vulnerability summary
CVE-2024-8946 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in micropython. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 64.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 17-09-2024PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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 metrics
11 scores · 5 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS: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
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighAV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.01% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundMicropython
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI4 products
- micropython-copy≤ 3.3.3.post3 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
- micropython-io≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
- micropython-os-path≤ 0.1.3 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
- micropython-string≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
Debian1 product
- micropython< 1.24.0+ds-1
Micropython1 product
- micropython1.23.0
Ubuntu1 product
- micropython< 1.12-1ubuntu0.1~esm1 | < 1.17+ds-1.1ubuntu2+esm1 | < 1.22.1+ds-1ubuntu0.24.04.1~esm1
4 vendors · 7 products
References
16 links- github.com/micropython/micropython/issues/13006Issue TrackingWEBREPORTEVIDENCEExploitThird Party Advisory