cve.bz

CVE-2024-8947 micropython micropython: Use After Free

6.3 mediumExploit referenceEPSS 1.0%Fix available

Medium (6.3) in micropython micropython. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-09-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-8947 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8947?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8947?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8947 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
micropython:micropython1.22.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pwwp-3q7j-9mx8PyPImicropython-copy<=3.3.3.post3no fix published
GHSA-pwwp-3q7j-9mx8PyPImicropython-io<=0.1no fix published
PYSEC-2024-92PyPImicropython-copyall versionsno fix published
PYSEC-2024-94PyPImicropython-ioall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14micropython1.24.0+ds-1DEBIAN-CVE-2024-8947
UbuntuPro:20.04:LTSmicropython1.12-1ubuntu0.1~esm1UBUNTU-CVE-2024-8947 USN-7472-1
UbuntuPro:22.04:LTSmicropython1.17+ds-1.1ubuntu2+esm1UBUNTU-CVE-2024-8947 USN-7472-1
UbuntuPro:24.04:LTSmicropython1.22.1+ds-1ubuntu0.24.04.1~esm1UBUNTU-CVE-2024-8947 USN-7472-1
openSUSETumbleweedmicropython1.28.0-2.1openSUSE-SU-2026:10704-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

References

Check your stackJSON