CVE-2024-8946
MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
- Published
- Updated
- Reserved
- Assigned by
- VulDB
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium6.9 | 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 |
| VulDBCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | High7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| NVDNVD · Analyzed | 4.0 | Medium6.9 | 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 |
- EPSS (exploitation in 30 days)
- 1.0% · top 37% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Weakness
Affected products
MicroPython
- affected 1.23.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImicropython-copyGHSA-74qm-4v7r-jw2f (opens in a new tab)
- PyPImicropython-ioGHSA-74qm-4v7r-jw2f (opens in a new tab)
- PyPImicropython-os-pathGHSA-74qm-4v7r-jw2f (opens in a new tab)
- PyPImicropython-stringGHSA-74qm-4v7r-jw2f (opens in a new tab)
References (6)
- VDB-277764 | MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow (opens in a new tab)vdb-entrytechnical-description
- VDB-277764 | CTI Indicators (IOB, IOC, IOA) (opens in a new tab)signaturepermissions-required
- Submit #409312 | micropython v1.23.0 Heap-based Buffer Overflow (opens in a new tab)third-party-advisory
- https://github.com/micropython/micropython/issues/13006 (opens in a new tab)exploitissue-tracking
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 (opens in a new tab)issue-tracking
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-74qm-4v7r-jw2f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-8946)Record last updated .