---
title: "CVE-2024-8947\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-8947?format=md
keywords: index, follow
---

# CVE-2024-8947

Publication date 17 September 2024

Last updated 3 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.6 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2024-8947?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| micropython | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Fixed 1.22.1+ds-1ubuntu0.24.10.1 |
| 24.04 LTS noble | Fixed 1.22.1+ds-1ubuntu0.24.04.1~esm1  Ubuntu Pro |
| 22.04 LTS jammy | Fixed 1.17+ds-1.1ubuntu2+esm1  Ubuntu Pro |
| 20.04 LTS focal | Fixed 1.12-1ubuntu0.1~esm1  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.6 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.6 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8947)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-8947)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-8947)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-8947)

### Related Ubuntu Security Notices (USN)

+ [USN-7472-1](https://usn.ubuntu.com/USN-7472-1)
+ Micropython vulnerabilities
+ 1 May 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-8947>
* <https://github.com/micropython/micropython/issues/13283>
* <https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709>
* <https://vuldb.com/?id.277765>
* <https://vuldb.com/?ctiid.277765>
* <https://vuldb.com/?submit.409316>
* <https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd>
* <https://github.com/micropython/micropython/releases/tag/v1.23.0>
