{"id":"CVE-2024-8948","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-8948","generatedAt":"2026-10-28T01:10:02.139Z","title":"A vulnerability was found in MicroPython 1.23.0.","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.","published":"2024-09-17T19:15:30.000Z","lastModified":"2026-06-17T08:23:37.000Z","status":"Analyzed","sourceIdentifier":"cna@vuldb.com","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-122","CWE-787"],"affected":["micropython/micropython"],"epss":{"score":0.00993,"percentile":0.62354,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.99%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894","tags":["Patch"],"source":"cna@vuldb.com"},{"url":"https://github.com/micropython/micropython/issues/13041","tags":["Exploit","Issue Tracking","Third Party Advisory"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/?ctiid.277766","tags":["Permissions Required"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/?id.277766","tags":["Third Party Advisory"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/?submit.409317","tags":["Third Party Advisory"],"source":"cna@vuldb.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-8948","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}