Skip to main content
VulnerabilityPublished Updated

CVE-2024-8948: MicroPython

Affects micropythonSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSmicropythonpkg:deb/ubuntu/micropython?arch=source&distro=nobleOther threatsAffected
  • 1.19.1+ds-1 – 1.22.1+ds-1build2
4 affected builds
Fixed in–
Ubuntu 22.04 LTSmicropythonpkg:deb/ubuntu/micropython?arch=source&distro=jammyOther threatsAffected
  • =1.17+ds-1ubuntu1
  • =1.17+ds-1.1
  • =1.17+ds-1.1ubuntu2
Fixed in–
Ubuntu Pro 20.04 LTSmicropythonpkg:deb/ubuntu/micropython?arch=source&distro=esm-apps/focalOther threatsAffected
  • =1.12-1
  • =1.12-1ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.

References

Community reviews

Loading reviews…