Vulnerability database / CVE-2023-7152
CVE-2023-7152
CRITICAL 9.8 CVSS 3.1 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.
Published 29 Dec 2023
Last modified 17 Jun 2026 Assigned by cna@vuldb.com NVD status Modified Weakness
CWE-416 Also known as
PYSEC-2023-256 PYSEC-2023-257 PYSEC-2023-258 PYSEC-2023-259 Sources
NVD JSON OSV PYSEC-2023-256 JSON OSV PYSEC-2023-257 JSON OSV PYSEC-2023-258 JSON OSV PYSEC-2023-259 JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOSV
PyPA
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
cna@vuldb.com (Secondary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LNVD
cna@vuldb.com (Secondary)
CVSS 2.0
MEDIUM 5.2
AV:A/AC:L/Au:S/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
micropython
micropythoncpe:2.3:a:micropython:micropython:1.21.0:*:*:*:*:*:*:*
= 1.21.0
NVD
micropython
micropythoncpe:2.3:a:micropython:micropython:1.22.0:preview:*:*:*:*:*:*
= 1.22.0
OSV
PyPI
micropython-copy
all versions
OSV
PyPI
micropython-io
all versions
OSV
PyPI
micropython-os
all versions
OSV
PyPI
micropython-select
all versions
References
History
25 Nov 2026 20:37 UTC · NVD: first stored (published 29 Dec 2023)25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2023)25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2023)25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2023)25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2023)