CVE-2024-8947
MicroPython objarray.c use after free
- Published
- Updated
- Reserved
- Assigned by
- VulDB
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium6.3 | 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 |
| VulDBCNA (assigner) | 3.1 | Medium5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | Medium5.6 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 2.0 | Medium5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| NVDNVD · Analyzed | 4.0 | Medium6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
MicroPython
- affected 1.22.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImicropython-copyGHSA-pwwp-3q7j-9mx8 (opens in a new tab)
- PyPImicropython-ioGHSA-pwwp-3q7j-9mx8 (opens in a new tab)
References (7)
- VDB-277765 | MicroPython objarray.c use after free (opens in a new tab)vdb-entry
- VDB-277765 | CTI Indicators (IOB, IOC, IOA) (opens in a new tab)signaturepermissions-required
- Submit #409316 | micropython v1.22.2 Use After Free (opens in a new tab)third-party-advisory
- https://github.com/micropython/micropython/issues/13283 (opens in a new tab)issue-tracking
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 (opens in a new tab)issue-tracking
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd (opens in a new tab)patch
- https://github.com/micropython/micropython/releases/tag/v1.23.0 (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pwwp-3q7j-9mx8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-8947)Record last updated .