7.5

CVE-2024-8946: micropython Heap-based Buffer Overflow

CVSS: 7.5v2.0HighAnalyzed
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 62.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v2.0 (CVE.org)
EPSS score
1.01%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

63%

Versus all other CVEs

30-day change

0.00 pp

From 1.01% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.01%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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