ADVISORIES

Vulnerability

CVE-2024-8946

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.

8 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 5Ubuntu 2Debian 1

Advisories

  • DEBIAN-CVE-2024-8946

    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…

    CVE-2024-8946 Debian Updated 2 November 2026
  • GHSA-74qm-4v7r-jw2f

    Heap-based Buffer Overflow in MicroPython

    Moderate CVE-2024-8946 PyPI Updated 25 September 2024
  • PYSEC-2024-91

    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…

    CVE-2024-8946 PyPI Updated 25 September 2024
  • PYSEC-2024-93

    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…

    CVE-2024-8946 PyPI Updated 25 September 2024
  • PYSEC-2024-95

    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…

    CVE-2024-8946 PyPI Updated 25 September 2024
  • PYSEC-2024-96

    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…

    CVE-2024-8946 PyPI Updated 10 June 2026
  • UBUNTU-CVE-2024-8946

    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…

    CVE-2024-8946 Ubuntu Updated 4 February 2026
  • USN-7472-1

    micropython vulnerabilities

    CVE-2021-42553CVE-2024-8946CVE-2024-8947 Ubuntu Updated 27 April 2026

References