7.5

CVE-2024-8946: MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow

Analyzed
AliasesGHSA-74qm-4v7r-jw2fPYSEC-2024-91PYSEC-2024-93
Published 17-09-2024Last modified 17-09-2024

Vulnerability summary

CVE-2024-8946 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in micropython. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 64.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v2.0 (CVE.org)
EPSS score
1.01%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 17-09-2024
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

11 scores · 5 sources · 4 versions

EPSS trend

Probability

1.01%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 1.01% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

PyPI4 products
  • micropython-copy≤ 3.3.3.post3 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
  • micropython-io≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
  • micropython-os-path≤ 0.1.3 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
  • micropython-string≤ 0.1 | < 29943546343c92334e8518695a11fc0e2ceea68b | All versions (No fix recorded)
Debian1 product
  • micropython< 1.24.0+ds-1
Micropython1 product
Ubuntu1 product
  • micropython< 1.12-1ubuntu0.1~esm1 | < 1.17+ds-1.1ubuntu2+esm1 | < 1.22.1+ds-1ubuntu0.24.04.1~esm1

4 vendors · 7 products

References

16 links
Show all 16 references