cve.bz

CVE-2023-7152 micropython micropython: Use After Free

9.8 criticalExploit referenceEPSS 0.9%Fix available

Critical (9.8) in micropython micropython. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-7152 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-7152?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-7152?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-7152 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
micropython:micropython1.21.0
micropython:micropython1.22.0:preview

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
PYSEC-2023-256PyPImicropython-copyall versionsno fix published
PYSEC-2023-257PyPImicropython-ioall versionsno fix published
PYSEC-2023-258PyPImicropython-osall versionsno fix published
PYSEC-2023-259PyPImicropython-selectall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moregiacno fix listedUBUNTU-CVE-2023-7152

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

References

Check your stackJSON