{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-7152","id":"CVE-2023-7152","title":"MicroPython modselect.c poll_set_add_fd use after free","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 t","descriptionLong":"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":"2023-12-29T04:31:04.054Z","updated":"2026-10-28T10:36:24.084375341Z","reserved":"2023-12-28T10:30:00.988Z","status":"Modified","rejected":false,"assigner":"VulDB","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"vuldb.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"VulDB"},{"version":"2.0","score":5.2,"vector":"AV:A/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"VulDB"},{"version":"2.0","score":5.2,"vector":"AV:A/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"vuldb.com"}],"rating":"medium","products":["MicroPython"],"affectedProducts":[{"vendor":"n/a","product":"MicroPython","defaultStatus":null,"versions":[{"version":"1.21.0","status":"affected"},{"version":"1.22.0-preview","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"micropython-copy","purl":"pkg:pypi/micropython-copy","ranges":["all versions"],"fixed":[],"advisory":"PYSEC-2023-256"},{"ecosystem":"PyPI","name":"micropython-io","purl":"pkg:pypi/micropython-io","ranges":["all versions"],"fixed":[],"advisory":"PYSEC-2023-257"},{"ecosystem":"PyPI","name":"micropython-os","purl":"pkg:pypi/micropython-os","ranges":["all versions"],"fixed":[],"advisory":"PYSEC-2023-258"},{"ecosystem":"PyPI","name":"micropython-select","purl":"pkg:pypi/micropython-select","ranges":["all versions"],"fixed":[],"advisory":"PYSEC-2023-259"}],"cwes":["CWE-416"],"aliases":["PYSEC-2023-256","PYSEC-2023-257","PYSEC-2023-258","PYSEC-2023-259"],"references":[{"url":"https://vuldb.com/?id.249158","tags":["vdb-entry","technical-description","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://vuldb.com/?ctiid.249158","tags":["signature","permissions-required","x_transferred","Permissions Required","Third Party Advisory","VDB Entry","report","advisory"]},{"url":"https://github.com/micropython/micropython/issues/12887","tags":["exploit","issue-tracking","x_transferred","Exploit","Issue Tracking","report"]},{"url":"https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26","tags":["patch","x_transferred","Patch","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/7xxx/CVE-2023-7152.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-7152","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00892,"epssPercentile":0.60118,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-7152","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-7152","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-7152","ok":true,"note":"4 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-7152","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}