Home / MicroPython / MicroPython / CVE-2024-8946
CVE-2024-8946: is it exploited, and which versions of MicroPython are affected and fixed?
CVE-2024-8946 is a heap buffer overflow vulnerability in MicroPython. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: micropython-copy through 3.3.3.post3, micropython-io through 0.1, micropython-os-path through 0.1.3 and 1 more (GitHub advisory GHSA-74qm-4v7r-jw2f). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-8946?
MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
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.
From the CVE record by VulDB, last updated September 17, 2024, 20:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MicroPython | 1.23.0 |
As the CVE record by VulDB states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | micropython-copy | <= 3.3.3.post3 | none listed | GHSA-74qm-4v7r-jw2f |
| PyPI | micropython-io | <= 0.1 | none listed | GHSA-74qm-4v7r-jw2f |
| PyPI | micropython-os-path | <= 0.1.3 | none listed | GHSA-74qm-4v7r-jw2f |
| PyPI | micropython-string | <= 0.1 | none listed | GHSA-74qm-4v7r-jw2f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 25, 2024. Summary: Heap-based Buffer Overflow in MicroPython.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| micropython | micropython | 1.23.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:23 UTC.
How severe is CVE-2024-8946?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | VulDB |
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| High 7.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | VulDB |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-8946 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 17, 2024)
- EPSS
- 1.01% probability of exploitation activity in the next 30 days, percentile 64.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-277764 | MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow vdb-entry, technical-description
- VDB-277764 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #409312 | micropython v1.23.0 Heap-based Buffer Overflow third-party-advisory
- https://github.com/micropython/micropython/issues/13006 exploit, issue-tracking
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 issue-tracking
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b patch
Who found and reported it?
- qbit (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 17, 2024
- Published
- September 17, 2024, 18:31 UTC
- CVE record updated
- September 17, 2024, 20:14 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 08:23 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect MicroPython?
- Feb 6, 2026CVE-2026-1998 micropython: memory corruption (buffer overflow)
- Sep 17, 2024CVE-2024-8948 MicroPython: heap buffer overflow
- Sep 17, 2024CVE-2024-8947 MicroPython: use after free
- Dec 29, 2023CVE-2023-7158 MicroPython: heap buffer overflow
- Dec 29, 2023CVE-2023-7152 MicroPython: use after free
Questions about CVE-2024-8946
Is CVE-2024-8946 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.01% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of MicroPython are affected by CVE-2024-8946?
micropython-copy through 3.3.3.post3, micropython-io through 0.1, micropython-os-path through 0.1.3 and micropython-string through 0.1, per the GitHub advisory GHSA-74qm-4v7r-jw2f. The tables above give every range the sources list.
Which version fixes CVE-2024-8946?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-8946?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2024-8946?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.