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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-17 · Modified: 2024-09-17
- Aliases: GHSA-pwwp-3q7j-9mx8, PYSEC-2024-92, PYSEC-2024-94, UBUNTU-CVE-2024-8947, DEBIAN-CVE-2024-8947, openSUSE-SU-2026:10704-1
- Record: https://cvemate.com/vulnerability/CVE-2024-8947 · JSON: https://cvemate.com/vulnerability/CVE-2024-8947/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.021%, percentile 64.559%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian micropython (Debian): \< 1.24.0+ds-1
- ubuntu micropython (Ubuntu): \< 1.12-1ubuntu0.1~esm1 \| \< 1.17+ds-1.1ubuntu2+esm1 \| \< 1.22.1+ds-1ubuntu0.24.04.1~esm1
- micropython micropython: 1.22.2
- PyPI micropython-copy (PyPI): ≤ 3.3.3.post3 \| \< 4bed614e707c0644c06e117f848fa12605c711cd \| All versions (No fix recorded)
- PyPI micropython-io (PyPI): ≤ 0.1 \| \< 4bed614e707c0644c06e117f848fa12605c711cd \| All versions (No fix recorded)
- opensuse micropython&distro=openSUSE Tumbleweed (openSUSE): \< 1.28.0-2.1

## References

- <https://vuldb.com/?id.277765>
- <https://vuldb.com/?ctiid.277765>
- <https://vuldb.com/?submit.409316>
- <https://github.com/micropython/micropython/issues/13283>
- <https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709>
- <https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd>
- <https://github.com/micropython/micropython/releases/tag/v1.23.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8947>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml>
- <https://github.com/advisories/GHSA-pwwp-3q7j-9mx8>
- <https://ubuntu.com/security/CVE-2024-8947>
- <https://www.cve.org/CVERecord?id=CVE-2024-8947>
- <https://ubuntu.com/security/notices/USN-7472-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-8947>
- <https://www.suse.com/security/cve/CVE-2024-8947>

---

Data as of 2026-12-05T06:19:23.858Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
