Buffer overflow in Micropython

CVE-2023-7158

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

EPSS exploit prediction

EPSS: 0.012 (67.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 67.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-7158: held from 0.012 to 0.012.

EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000

Affected products

  • Micropython
  • Micropython — versions 1.13.0, 1.14.0, 1.15.0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-7158?
CVE-2023-7158 is a high-severity vulnerability in Micropython, classified under Heap-based Buffer Overflow. CVSS score: 7.3/10. Published 2023-12-29.
How severe is CVE-2023-7158?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2023-7158 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.