
CVE catalog
CVE-2024-8948
UBUNTU-CVE-2024-8948
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.99% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | micropython | 13 | 1.24.0+ds-1 | fixed |
| Debian | micropython | 14 | 1.24.0+ds-1 | fixed |
| Ubuntu | micropython | pro | 1.12-1 | vulnerable |
| Ubuntu | micropython | pro | 1.12-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | micropython | 22.04 | 1.17+ds-1ubuntu1 | vulnerable |
| Ubuntu | micropython | 22.04 | 1.17+ds-1.1 | vulnerable |
| Ubuntu | micropython | 22.04 | 1.17+ds-1.1ubuntu2 | vulnerable |
| Ubuntu | micropython | 24.04 | 1.19.1+ds-1 | vulnerable |
| Ubuntu | micropython | 24.04 | 1.22.1+ds-1 | vulnerable |
| Ubuntu | micropython | 24.04 | 1.22.1+ds-1build1 | vulnerable |
| Ubuntu | micropython | 24.04 | 1.22.1+ds-1build2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | micropython | deb | 13 | 1.24.0+ds-1 | Not reported | DEBIAN-CVE-2024-8948 | Not reported |
| Debian | micropython | deb | 14 | 1.24.0+ds-1 | Not reported | DEBIAN-CVE-2024-8948 | Not reported |
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [micropython]Fixed
Details (2)
1.25.0+ds-1· amd64 · trixieFixed · Fixed:
1.24.0+ds-1pypi · micropython · debian · 13
1.25.0+ds-1· arm64 · trixieFixed · Fixed:
1.24.0+ds-1pypi · micropython · debian · 13
- [micropython-doc]Fixed
Source package: [micropython]
Details (2)
1.25.0+ds-1· all · trixieFixed · Fixed:
1.24.0+ds-1pypi · micropython · debian · 13
1.25.0+ds-1· all · trixieFixed · Fixed:
1.24.0+ds-1pypi · micropython · debian · 13
Observed: