9.8

CVE-2023-7158: micropython Heap-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2023-7158openSUSE-SU-2024:13566-1
Published 29-12-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-7158 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in micropython. EPSS estimates a 1.23% chance of exploitation in the next 30 days, higher than 68.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 29-12-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 3 sources · 3 versions

EPSS trend

Probability

1.23%

Chance of exploitation in the next 30 days

Percentile

68%

Versus all other CVEs

30-day change

0.00 pp

From 1.23% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Micropython1 product
Opensuse1 product
  • micropython&distro=openSUSE Tumbleweed< 1.22.0-1.1
Ubuntu1 product
  • giacAll versions (No fix recorded)

3 vendors · 3 products

References

12 links
Show all 12 references