9.8

CVE-2023-7158: MicroPython objslice.c slice_indices heap-based overflow

Modified
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 69.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

70%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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