MicroPython modselect.c poll_set_add_fd use after free
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
A vulnerability, which was classified as critical, has been found in MicroPython 1.21.0/1.22.0-preview. Affected by this issue is the function poll_set_add_fd of the file extmod/modselect.c. The manipulation leads to use after free. The exploit has been disclosed to the public and may be used. The patch is identified as 8b24aa36ba978eafc6114b6798b47b7bfecdca26. It is recommended to apply a patch to fix this issue. VDB-249158 is the identifier assigned to this vulnerability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | MicroPython | 1.21.0; 1.22.0-preview | — | No fix listed | CNA |
- MicroPython Vendor— Affected 1.21.0; 1.22.0-preview Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:micropython:micropython:1.21.0:*:*:*:*:*:*:* | 1.21.0 | Vulnerable | Micropython |
| cpe:2.3:a:micropython:micropython:1.22.0:preview:*:*:*:*:*:* | 1.22.0 preview | Vulnerable | Micropython |
- cpe:2.3:a:micropython:micropython:1.21.0:*:*:*:*:*:*:* Versions 1.21.0 Vulnerable ·Micropython
- cpe:2.3:a:micropython:micropython:1.22.0:preview:*:*:*:*:*:* Versions 1.22.0 preview Vulnerable ·Micropython
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-7152
- 2026-10-03 Alias added: GHSA-jpcc-65j8-6q37
References
Other 3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/
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-2024-08307 MicroPython objarray.c use after free CVSS 4.0MEDIUM 6.3
- 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
Sources
- CVE-2023-7152 · CVE Program
- CVE-2023-7152 · NVD
- FIRST EPSS
- GHSA-jpcc-65j8-6q37 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-7152 · 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