CVE catalog

CVE-2024-8948

UBUNTU-CVE-2024-8948

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianmicropython131.24.0+ds-1fixed
Debianmicropython141.24.0+ds-1fixed
Ubuntumicropythonpro1.12-1vulnerable
Ubuntumicropythonpro1.12-1ubuntu0.1~esm1vulnerable
Ubuntumicropython22.041.17+ds-1ubuntu1vulnerable
Ubuntumicropython22.041.17+ds-1.1vulnerable
Ubuntumicropython22.041.17+ds-1.1ubuntu2vulnerable
Ubuntumicropython24.041.19.1+ds-1vulnerable
Ubuntumicropython24.041.22.1+ds-1vulnerable
Ubuntumicropython24.041.22.1+ds-1build1vulnerable
Ubuntumicropython24.041.22.1+ds-1build2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmicropythondeb131.24.0+ds-1Not reportedDEBIAN-CVE-2024-8948Not reported
Debianmicropythondeb141.24.0+ds-1Not reportedDEBIAN-CVE-2024-8948Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • Details (2)
    • 1.25.0+ds-1 · amd64 · trixie

      Fixed · Fixed: 1.24.0+ds-1

      pypi · micropython · debian · 13

    • 1.25.0+ds-1 · arm64 · trixie

      Fixed · Fixed: 1.24.0+ds-1

      pypi · micropython · debian · 13

  • Source package: [micropython]

    Details (2)
    • 1.25.0+ds-1 · all · trixie

      Fixed · Fixed: 1.24.0+ds-1

      pypi · micropython · debian · 13

    • 1.25.0+ds-1 · all · trixie

      Fixed · Fixed: 1.24.0+ds-1

      pypi · micropython · debian · 13

Observed:

References