---
title: "CVE-2024-8948\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-8948?format=md
keywords: index, follow
---

# CVE-2024-8948

Publication date 17 September 2024

Last updated 3 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.3 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2024-8948?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| micropython | 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Ignored end of life, was ignored [changes too intrusive] |
| 24.04 LTS noble | Ignored changes too intrusive |
| 22.04 LTS jammy | Ignored changes too intrusive |
| 20.04 LTS focal | Ignored end of standard support, was needs-triage |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.3 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.3 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-8948)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-8948)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-8948)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-8948)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-8948>
* <https://github.com/micropython/micropython/issues/13041>
* <https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894>
* <https://vuldb.com/?id.277766>
* <https://vuldb.com/?ctiid.277766>
* <https://vuldb.com/?submit.409317>
