CVEfocus › CVE database › CVE-2023-7152

CVE-2023-7152MicroPython modselect.c poll_set_add_fd use after free

CVSS 5.5 MediumEPSS 0.9% (higher than 60% of CVEs)Published 2023-12-29Updated 2025-02-13Assigner: VulDB

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.

CWE-416

What to do

PyPI, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10giacFix pendingUBUNTU-CVE-2023-7152
Ubuntu 26.04giacUnder investigationUBUNTU-CVE-2023-7152
Ubuntu 25.10giacWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-7152
Ubuntu 24.04giacUnder investigationUBUNTU-CVE-2023-7152
Ubuntu 22.04giacUnder investigationUBUNTU-CVE-2023-7152
Ubuntu 20.04giacWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-7152
Ubuntu 18.04giacWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-7152
PyPI librarymicropython-copyFix pendingPYSEC-2023-256
PyPI librarymicropython-ioFix pendingPYSEC-2023-257
PyPI librarymicropython-osFix pendingPYSEC-2023-258
PyPI librarymicropython-selectFix pendingPYSEC-2023-259

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.