CVE-2024-8946
CVE-2024-8946 is a high-severity vulnerability in Micropython with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- CVSS v2: 7.5
- CVSS v4: 6.9
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0102
- Weakness: CWE-787
- Affected product: Micropython
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-8946?
- 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.
- How severe is CVE-2024-8946?
- CVE-2024-8946 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2024-8946 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-8946?
- CVE-2024-8946 affects Micropython. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-8946?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-8946 have an EU (EUVD) identifier?
- Yes. CVE-2024-8946 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0102.
- When was CVE-2024-8946 published?
- CVE-2024-8946 was published on 2024-09-17 and last updated on 2026-06-17.
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
- https://vuldb.com/?submit.409312
Affected products (1)
- cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
More vulnerabilities in Micropython
- CVE-2024-8948 — High (CVSS 7.3): A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function…
- CVE-2023-7158 — High (CVSS 7.3): A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function…
- CVE-2024-8947 — Medium (CVSS 5.6): A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an…
- CVE-2023-7152 — Medium (CVSS 5.5): A vulnerability, which was classified as critical, has been found in MicroPython 1.21.0/1.22.0-preview. Affected by…
- CVE-2026-1998 — Low (CVSS 3.3): A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function mp_import_all of the file…
All CVEs affecting Micropython →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…