{"id":"UBUNTU-CVE-2023-7152","details":"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.","modified":"2026-05-20T16:16:25.752145794Z","published":"2023-12-29T05:15:00Z","upstream":["CVE-2023-7152"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-7152"},{"type":"REPORT","url":"https://github.com/micropython/micropython/issues/12887"},{"type":"REPORT","url":"https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-7152"}],"affected":[{"package":{"name":"giac","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/giac?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3.57+dfsg1-2build1","1.2.3.57+dfsg1-2build2","1.2.3.57+dfsg1-2build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0","binary_version":"1.2.3.57+dfsg1-2build3"},{"binary_name":"xcas","binary_version":"1.2.3.57+dfsg1-2build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}},{"package":{"name":"giac","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/giac?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.9.69+dfsg1-2build1","1.5.0.85+dfsg1-2","1.5.0.85+dfsg1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0","binary_version":"1.5.0.85+dfsg1-3"},{"binary_name":"xcas","binary_version":"1.5.0.85+dfsg1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}},{"package":{"name":"giac","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/giac?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0.41+dfsg1-1","1.7.0.39+dfsg2-1build1","1.7.0.39+dfsg2-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0","binary_version":"1.7.0.39+dfsg2-1build2"},{"binary_name":"xcas","binary_version":"1.7.0.39+dfsg2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}},{"package":{"name":"giac","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/giac?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.0.35+dfsg2-1.1","1.9.0.59+dfsg2-1","1.9.0.69+dfsg2-1","1.9.0.93+dfsg2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0t64","binary_version":"1.9.0.93+dfsg2-2"},{"binary_name":"xcas","binary_version":"1.9.0.93+dfsg2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}},{"package":{"name":"giac","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/giac?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.0.93+dfsg2-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0t64","binary_version":"1.9.0.93+dfsg2-3build1"},{"binary_name":"xcas","binary_version":"1.9.0.93+dfsg2-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}},{"package":{"name":"giac","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/giac?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.0.93+dfsg2-3build1","1.9.0.93+dfsg2-3build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libgiac0t64","binary_version":"1.9.0.93+dfsg2-3build2"},{"binary_name":"xcas","binary_version":"1.9.0.93+dfsg2-3build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7152.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}