{"cve":"CVE-2023-7152","nvd":{"published":"2023-12-29T05:15:09.473","modified":"2026-06-17T06:52:11.407","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-416"],"references":["https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26","https://github.com/micropython/micropython/issues/12887","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/"],"products":["micropython:micropython"],"source":"nvd","synced_at":"2026-10-19T21:43:38.875533635+00:00"},"epss":{"cve":"CVE-2023-7152","score":0.00892,"percentile":0.59437,"date":"2026-10-31"},"kev":null,"osv":[{"id":"PYSEC-2023-256","url":"https://osv.dev/vulnerability/PYSEC-2023-256","summary":"","modified":"2024-02-29T07:56:27.309950Z","packages":[{"ecosystem":"PyPI","name":"micropython-copy","purl":"pkg:pypi/micropython-copy","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2023-257","url":"https://osv.dev/vulnerability/PYSEC-2023-257","summary":"","modified":"2024-02-29T07:56:27.309950Z","packages":[{"ecosystem":"PyPI","name":"micropython-io","purl":"pkg:pypi/micropython-io","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2023-258","url":"https://osv.dev/vulnerability/PYSEC-2023-258","summary":"","modified":"2024-02-29T07:56:27.309950Z","packages":[{"ecosystem":"PyPI","name":"micropython-os","purl":"pkg:pypi/micropython-os","ranges":["all versions"],"fixed":[]}]},{"id":"PYSEC-2023-259","url":"https://osv.dev/vulnerability/PYSEC-2023-259","summary":"","modified":"2024-02-29T07:56:27.309950Z","packages":[{"ecosystem":"PyPI","name":"micropython-select","purl":"pkg:pypi/micropython-select","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}