Read the docs
TI-2023-06546 Aliases CVE-2023-7158GHSA-x33q-m927-7mq6

MicroPython objslice.c slice_indices heap-based overflow

Priority MEDIUM 45CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01228 69th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MicroPython1.13.0; 1.14.0; 1.15.0; 1.16.0; 1.17.0; 1.18.0; 1.19.0; 1.20.0; 1.21.0—No fix listedCNA
  • MicroPython Vendor— Affected 1.13.0; 1.14.0; 1.15.0; 1.16.0; 1.17.0; 1.18.0; 1.19.0; 1.20.0; 1.21.0 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:*before 1.22.0VulnerableMicropython
  • cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:* Versions before 1.22.0 Vulnerable ·Micropython

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-7158
  2. 2026-10-03 Alias added: GHSA-x33q-m927-7mq6

References

  • TI-2024-08308 MicroPython objint.c mpz_as_bytes heap-based overflow CVSS 4.0MEDIUM 6.9
  • TI-2024-08306 MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow CVSS 4.0MEDIUM 6.9
  • TI-2024-08307 MicroPython objarray.c use after free CVSS 4.0MEDIUM 6.3
  • TI-2026-01655 micropython runtime.c mp_import_all memory corruption CVSS 4.0MEDIUM 4.8
  • TI-2023-06540 MicroPython modselect.c poll_set_add_fd use after free CVSS 3.1CRITICAL 9.8

Sources