CVE-2023-7152

published 29 Dec 2023 · updated 13 Feb 2025

MicroPython modselect.c poll_set_add_fd use after free

6.5MediumCVSS 5.5EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=1.21.0, =1.22.0-preview

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-7152 severity on Zeptric[![CVE-2023-7152](https://zeptric.io/badge/cve/CVE-2023-7152.svg)](https://zeptric.io/cve/CVE-2023-7152)