High

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 manipulat

  • Disclosed: 17.09.2024
  • Updated: 11.10.2026 12:20

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) micropython-copy all versions no fix
Python (PyPI) micropython-io all versions no fix
Python (PyPI) micropython-os-path all versions no fix
Python (PyPI) micropython-string all versions no fix

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-122, CWE-787
Platform
Python (PyPI)
Package
micropython-copy, micropython-io, micropython-os-path
Disclosed
17.09.2024
Updated
11.10.2026 12:20

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2024-91 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2024-93 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2024-95 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-74qm-4v7r-jw2f - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2024-96 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: micropython-copy

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
12.2023 09.2024
Without a fix
4
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3

Disclosures per year

  1. 2023: 1
  2. 2024: 3
  3. 2025: 0
  4. 2026: 0
  1. 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 manipulat this entry
    High · 7.5 CVE-2024-8946 all versions no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.