{"id":"CVE-2023-7158","aliases":["CVE-2023-7158"],"related":[],"kind":"vulnerability","state":"published","title":"MicroPython objslice.c slice_indices heap-based overflow","summary":"A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.","source":"cvelist"},{"lang":"de","text":"Es wurde eine kritische Schwachstelle in MicroPython bis 1.21.0 ausgemacht. Es betrifft die Funktion slice_indices der Datei objslice.c. Durch Manipulieren mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 1.22.0 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en MicroPython hasta 1.21.0. Ha sido clasificada como crítica. La función slice_indices del archivo objslice.c es afectada por la vulnerabilidad. La manipulación conduce a un desbordamiento de búfer de almacenamiento dinámico. Es posible lanzar el ataque de forma remota. La explotación ha sido divulgada al público y puede utilizarse. La actualización a la versión 1.22.0 puede solucionar este problema. Se recomienda actualizar el componente afectado. El identificador de esta vulnerabilidad es VDB-249180.","source":"nvd"}],"published":"2023-12-29T06:31:04.450Z","modified":"2026-06-17T06:52:12.303Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"CRITICAL"}],"cwes":["CWE-122","CWE-787"],"affected":[{"ranges":[{"version":"1.13.0","status":"affected"},{"version":"1.14.0","status":"affected"},{"version":"1.15.0","status":"affected"},{"version":"1.16.0","status":"affected"},{"version":"1.17.0","status":"affected"},{"version":"1.18.0","status":"affected"},{"version":"1.19.0","status":"affected"},{"version":"1.20.0","status":"affected"},{"version":"1.21.0","status":"affected"}],"product":"MicroPython","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.22.0"}],"vendor":"micropython","product":"micropython","cpe":"cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.249180","tags":["technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.249180","tags":["permissions-required","signature","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/micropython/micropython/issues/13007","tags":["exploit","issue-tracking","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/micropython/micropython/pull/13039","tags":["issue-tracking","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764ae7cef32202380f","tags":["issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/micropython/micropython/releases/tag/v1.22.0","tags":["patch","release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["qbit (VulDB User)"],"assigner":"VulDB","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-7158","url":"https://www.cve.org/CVERecord?id=CVE-2023-7158","licence":"CVE Terms of Use","modified":"2025-02-13T17:27:04.658Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-7158","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-7158","licence":"Public domain","modified":"2026-06-17T06:52:12.303Z"}],"updatedAt":"2026-11-25T22:58:31.733Z","epss":{"score":0.01228,"percentile":0.69717,"date":"2026-12-01T12:00:22.000Z"}}