VDB

CVE-2023-7158

CVE-2023-7158 PUBLISHED CVSS 7.3 HIGH

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.

PackageEcosystemFixed in
micropythonmicropython1.22.0

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
n/aMicroPython1.13.0, 1.14.0, 1.15.0
n/aMicroPython1.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

References

  • vdb-entrytechnical-description
  • signaturepermissions-required
  • exploitissue-tracking
  • issue-tracking
  • issue-trackingpatch
  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›