Home / MicroPython / MicroPython / CVE-2024-8947
CVE-2024-8947: is it exploited, and which versions of MicroPython are affected and fixed?
CVE-2024-8947 is an use after free 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 and micropython-io through 0.1 (GitHub advisory GHSA-pwwp-3q7j-9mx8). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.3, 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-8947?
MicroPython objarray.c use after free
A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file py/objarray.c. The manipulation leads to use after free. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 1.23.0 is able to address this issue. The identifier of the patch is 4bed614e707c0644c06e117f848fa12605c711cd. It is recommended to upgrade the affected component. In micropython objarray component, when a bytes object is resized and copied into itself, it may reference memory that has already been freed.
From the CVE record by VulDB, last updated September 17, 2024, 20:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MicroPython | 1.22.2 |
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-pwwp-3q7j-9mx8 |
| PyPI | micropython-io | <= 0.1 | none listed | GHSA-pwwp-3q7j-9mx8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 25, 2024. Summary: Use After Free in MicroPython.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| micropython | micropython | 1.22.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:23 UTC.
How severe is CVE-2024-8947?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | VulDB |
| Medium 5.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| Medium 5.6 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| Medium 5.1 | CVSS 2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P | VulDB |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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-8947 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.02% probability of exploitation activity in the next 30 days, percentile 64.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- VDB-277765 | MicroPython objarray.c use after free vdb-entry
- VDB-277765 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #409316 | micropython v1.22.2 Use After Free third-party-advisory
- https://github.com/micropython/micropython/issues/13283 issue-tracking
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 issue-tracking
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd patch
- https://github.com/micropython/micropython/releases/tag/v1.23.0 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:11 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-8946 MicroPython: heap buffer overflow
- Dec 29, 2023CVE-2023-7158 MicroPython: heap buffer overflow
- Dec 29, 2023CVE-2023-7152 MicroPython: use after free
Questions about CVE-2024-8947
Is CVE-2024-8947 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.02% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of MicroPython are affected by CVE-2024-8947?
micropython-copy through 3.3.3.post3 and micropython-io through 0.1, per the GitHub advisory GHSA-pwwp-3q7j-9mx8. The tables above give every range the sources list.
Which version fixes CVE-2024-8947?
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-8947?
Medium (6.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2024-8947?
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.