# CVE-2024-8947: micropython: A vulnerability was found in MicroPython 1.22.2

CVE-2024-8947 is fixed in micropython on 1 platform, first by micropython 1.12-1ubuntu0.1~esm1, released September 17, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-8947
- Priority: High
- CVSS: 8.1 (Medium)
- EPSS: 0.0102
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 17, 2024

## Description

A vulnerability was found in MicroPython 1.22.2. It has been declared ascritical. Affected by this vulnerability is an unknown functionality of thefile py/objarray.c. The manipulation leads to use after free. The attackcan be launched remotely. The complexity of an attack is rather high. Theexploitation appears to be difficult. Upgrading to version 1.23.0 is ableto address this issue. The identifier of the patch is4bed614e707c0644c06e117f848fa12605c711cd. It is recommended to upgrade theaffected component. In micropython objarray component, when a bytes objectis resized and copied into itself, it may reference memory that has alreadybeen freed.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | micropython Debian 13.5 (trixie) | 1.24.0+ds-1 | [DEBIAN-CVE-2024-8947](https://patchblox.com/security/data/fix/linux/debian-cve-2024-8947.md) | Sep 17, 2024 |
| Linux | micropython Debian 14 | 1.24.0+ds-1 | [DEBIAN-CVE-2024-8947](https://patchblox.com/security/data/fix/linux/debian-cve-2024-8947.md) | Sep 17, 2024 |
| Linux | micropython Ubuntu 20.04 LTS (focal) | 1.12-1ubuntu0.1~esm1 | [micropython 1.12-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-micropython-1.12-1ubuntu0.1-esm1.md) | Sep 17, 2024 |
| Linux | micropython Ubuntu 22.04.1 LTS (jammy) | 1.17+ds-1.1ubuntu2+esm1 | [micropython 1.17+ds-1.1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-micropython-1.17-ds-1.1ubuntu2-esm1.md) | Sep 17, 2024 |
| Linux | micropython Ubuntu 24.04.5 LTS (noble) | 1.22.1+ds-1ubuntu0.24.04.1~esm1 | [micropython 1.22.1+ds-1ubuntu0.24.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-micropython-1.22.1-ds-1ubuntu0.24.04.1-esm1.md) | Sep 17, 2024 |
| Linux | micropython Ubuntu 24.10 (oracular) | 1.22.1+ds-1ubuntu0.24.10.1 | [micropython 1.22.1+ds-1ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-micropython-1.22.1-ds-1ubuntu0.24.10.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
