CVE-2023-7158

published 29 Dec 2023 · updated 13 Feb 2025

MicroPython objslice.c slice_indices heap-based overflow

8.3HighCVSS 7.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=1.13.0, =1.14.0, =1.15.0, =1.16.0, =1.17.0, =1.18.0, =1.19.0, =1.20.0, =1.21.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-7158 severity on Zeptric[![CVE-2023-7158](https://zeptric.io/badge/cve/CVE-2023-7158.svg)](https://zeptric.io/cve/CVE-2023-7158)