Live threats

All CVEs / Micropython

CVE-2024-8946Micropython

Medium 6.9 No auth needed

Priority
57
CVSS 4.0
6.9
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Sep 17, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-787
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. 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. The name of the patch is 29943546343c92334e8518695a11fc0e2ceea68b. It is recommended to apply a patch to fix this issue. In the VFS unmount process, the comparison between the mounted path string and the unmount requested string is based solely on the length of the unmount string, which can lead to a heap buffer overflow read.

Original NVD text.

What to do

  1. Apply the vendor's security update for Micropython.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI micropython-copy ≤ 3.3.3.post3 no fixed version —
PyPI micropython-copy all no fixed version —
PyPI micropython-io ≤ 0.1 no fixed version —
PyPI micropython-io all no fixed version —
PyPI micropython-os-path ≤ 0.1.3 no fixed version —
PyPI micropython-os-path all no fixed version —
PyPI micropython-string ≤ 0.1 no fixed version —
PyPI micropython-string all no fixed version —

Per OSV / GitHub Advisories (GHSA-74qm-4v7r-jw2f, PYSEC-2024-91, PYSEC-2024-93, PYSEC-2024-95, PYSEC-2024-96). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
micropythonmicropython1.23.0

Official sources

References

Links published by the sources. Open them with care.