# CVE-2024-8947: MicroPython objarray.c use after free

- Severity: Medium 6.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-09-17T18:31:06.916Z
- Modified: 2026-06-17T08:23:36.640Z
- Also known as: GHSA-pwwp-3q7j-9mx8, PYSEC-2024-92, PYSEC-2024-94
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- MicroPython: 1.22.2
- micropython micropython: 1.22.2
- micropython-copy (PyPI): up to 3.3.3.post3; before 4bed614e707c0644c06e117f848fa12605c711cd; all versions
- micropython-io (PyPI): up to 0.1; before 4bed614e707c0644c06e117f848fa12605c711cd; all versions

## Every score

- VulDB: CVSS:4.0 6.3 Medium `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: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.6 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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/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`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/micropython/micropython/issues/13283> (exploit, evidence, issue-tracking, report, third-party-advisory, web)
- <https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709> (exploit, evidence, issue-tracking, report, third-party-advisory, web)
- <https://vuldb.com/?id.277765> (third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.277765> (permissions-required, signature, web)
- <https://vuldb.com/?submit.409316> (third-party-advisory, web)
- <https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd> (fix, patch, web)
- <https://github.com/micropython/micropython/releases/tag/v1.23.0> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8947> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml> (web)
- <https://github.com/advisories/GHSA-pwwp-3q7j-9mx8> (advisory)

## Sources

- CVE List: [CVE-2024-8947](https://www.cve.org/CVERecord?id=CVE-2024-8947), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-pwwp-3q7j-9mx8](https://github.com/advisories/GHSA-pwwp-3q7j-9mx8), CC-BY-4.0, modified 2024-09-25
- NVD: [CVE-2024-8947](https://nvd.nist.gov/vuln/detail/CVE-2024-8947), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-92](https://osv.dev/vulnerability/PYSEC-2024-92), CC-BY-4.0, modified 2024-09-25
- PyPA Advisory Database: [PYSEC-2024-94](https://osv.dev/vulnerability/PYSEC-2024-94), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-8947 · Whole record: https://cve.day/CVE-2024-8947.json · Rebuilt by cve.day 2026-11-25T22:58:45.515Z
