Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-7152 EUVD-2023-0145GHSA-jpcc-65j8-6q37PYSEC-2023-256PYSEC-2023-257PYSEC-2023-258PYSEC-2023-259

MicroPython modselect.c poll_set_add_fd use after free

Published Dec 29, 2023 · Updated Feb 13, 2025 · Assigned by VulDB

Description

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 products

VendorProductAffectedFixed
— MicroPython 1.21.0, 1.22.0-preview —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 giac No fix yet —
Ubuntu 26.04 LTS giac No fix yet —
Ubuntu 25.10 giac No fix yet —
Ubuntu 24.04 LTS giac No fix yet —
Ubuntu 22.04 LTS giac No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS giac No fix yet —
Ubuntu 18.04 LTS giac No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI micropython-copy all versions — PYSEC-2023-256
PyPI micropython-io all versions — PYSEC-2023-257
PyPI micropython-os all versions — PYSEC-2023-258
PyPI micropython-select all versions — PYSEC-2023-259

References