MicroPython objarray.c use after free
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | MicroPython | 1.22.2 | — | No fix listed | CNA |
| — | micropython-copy (PyPI) | up to 3.3.3.post3 | — | No fix listed | GHSA-pwwp-3q7j-9mx8 |
| — | micropython-io (PyPI) | up to 0.1 | — | No fix listed | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:micropython:micropython:1.22.2:*:*:*:*:*:*:* | 1.22.2 | Vulnerable | Micropython |
- 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
Timeline
- 2026-10-02 Threatist record created from CVE-2024-8947
- 2026-10-03 Alias added: GHSA-pwwp-3q7j-9mx8
References
Exploit 2
Patch 2
More Micropython vulnerabilities
- 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
- CVE-2024-8947 · CVE Program
- CVE-2024-8947 · NVD
- FIRST EPSS
- GHSA-pwwp-3q7j-9mx8 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-8947 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences