Live threats

All CVEs / Micropython

CVE-2023-7152Micropython

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Dec 29, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Micropython.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI micropython-copy all no fixed version —
PyPI micropython-io all no fixed version —
PyPI micropython-os all no fixed version —
PyPI micropython-select all no fixed version —

Per OSV / GitHub Advisories (PYSEC-2023-256, PYSEC-2023-257, PYSEC-2023-258, PYSEC-2023-259). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
micropythonmicropython1.21.0
micropythonmicropython1.22.0

Official sources

References

Links published by the sources. Open them with care.