CVE-2023-7152: micropython Use After Free
Vulnerability summary
CVE-2023-7152 is a critical (CVSS 9.8) Use After Free vulnerability in micropython. EPSS estimates a 0.89% chance of exploitation in the next 30 days, higher than 58.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-12-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 4 sources · 3 versions- CVE.orgCNA5.5MediumCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST5.2MediumAV:A/AC:L/Au:S/C:P/I:P/A:P
EPSS trend
Probability
0.89%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
0.00 pp
From 0.89% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMicropython
Maturity: poc
Weaknesses
CWE · root causeAffected systems
PyPI4 products
- micropython-copy< 8b24aa36ba978eafc6114b6798b47b7bfecdca26 | All versions (No fix recorded)
- micropython-io< 8b24aa36ba978eafc6114b6798b47b7bfecdca26 | All versions (No fix recorded)
- micropython-os< 8b24aa36ba978eafc6114b6798b47b7bfecdca26 | All versions (No fix recorded)
- micropython-select< 8b24aa36ba978eafc6114b6798b47b7bfecdca26 | All versions (No fix recorded)
Micropython1 product
- micropython1.21.0 | 1.22.0:preview
Ubuntu1 product
- giacAll versions (No fix recorded)
3 vendors · 6 products