CVE-2023-7158Micropython
Critical 9.8 No auth needed
Follow: this CVE · Micropython · Micropython We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Dec 29, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Micropython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| micropython | micropython | < 1.22.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- github.com Issue Tracking
- github.com Patch
- github.com Release Notes
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- vuldb.com Permissions Required Third Party Advisory
- vuldb.com Third Party Advisory