CVE-2023-7158
MicroPython objslice.c slice_indices heap-based overflow
Reported by vuldb · Published December 29, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| micropython | micropython | 1.22.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | MicroPython | 1.13.0, 1.14.0, 1.15.0 |
| n/a | MicroPython | 1.13.0, 1.14.0, 1.15.0 |
Timeline
- Dec 29, 2023 EPSS Score (30 in total, the first dated here)
- Dec 29, 2023 CVE Published
- Oct 5, 2024 Coalition ESS Score (4 in total, the first dated here)
- Feb 13, 2025 CVE Updated
- Mar 31, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-7158
vulnetix vdb fixes CVE-2023-7158
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-7158/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart