Read the docs
TI-2024-08307 Aliases CVE-2024-8947GHSA-pwwp-3q7j-9mx8

MicroPython objarray.c use after free

Priority MEDIUM 61CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01021 63rd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MicroPython1.22.2—No fix listedCNA
—micropython-copy (PyPI)up to 3.3.3.post3—No fix listedGHSA-pwwp-3q7j-9mx8
—micropython-io (PyPI)up to 0.1—No fix listedGHSA-pwwp-3q7j-9mx8
  • MicroPython Vendor— Affected 1.22.2 Fixed in — No fix listed CNA
  • micropython-copy (PyPI) Vendor— Affected up to 3.3.3.post3 Fixed in — No fix listed GHSA-pwwp-3q7j-9mx8
  • micropython-io (PyPI) Vendor— Affected up to 0.1 Fixed in — No fix listed GHSA-pwwp-3q7j-9mx8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:micropython:micropython:1.22.2:*:*:*:*:*:*:*1.22.2VulnerableMicropython
  • cpe:2.3:a:micropython:micropython:1.22.2:*:*:*:*:*:*:* Versions 1.22.2 Vulnerable ·Micropython

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-8947
  2. 2026-10-03 Alias added: GHSA-pwwp-3q7j-9mx8

References

  • TI-2024-08308 MicroPython objint.c mpz_as_bytes heap-based overflow CVSS 4.0MEDIUM 6.9
  • TI-2024-08306 MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow CVSS 4.0MEDIUM 6.9
  • TI-2026-01655 micropython runtime.c mp_import_all memory corruption CVSS 4.0MEDIUM 4.8
  • TI-2023-06546 MicroPython objslice.c slice_indices heap-based overflow CVSS 3.1CRITICAL 9.8
  • TI-2023-06540 MicroPython modselect.c poll_set_add_fd use after free CVSS 3.1CRITICAL 9.8

Sources