{"id":"CVE-2024-58010","aliases":["CVE-2024-58010"],"related":[],"kind":"vulnerability","state":"published","title":"binfmt_flat: Fix integer overflow bug on 32 bit systems","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_flat: Fix integer overflow bug on 32 bit systems\n\nMost of these sizes and counts are capped at 256MB so the math doesn't\nresult in an integer overflow.  The \"relocs\" count needs to be checked\nas well.  Otherwise on 32bit systems the calculation of \"full_data\"\ncould be wrong.\n\n\tfull_data = data_len + relocs * sizeof(unsigned long);","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbinfmt_flat: Fix integer overflow bug on 32 bit systems\n\nMost of these sizes and counts are capped at 256MB so the math doesn't\nresult in an integer overflow.  The \"relocs\" count needs to be checked\nas well.  Otherwise on 32bit systems the calculation of \"full_data\"\ncould be wrong.\n\n\tfull_data = data_len + relocs * sizeof(unsigned long);","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: binfmt_flat: soluciona un error de desbordamiento de enteros en sistemas de 32 bits La mayoría de estos tamaños y recuentos están limitados a 256 MB, por lo que el cálculo no da como resultado un desbordamiento de enteros. También es necesario comprobar el recuento de \"relocs\". De lo contrario, en sistemas de 32 bits, el cálculo de \"full_data\" podría ser incorrecto. full_data = data_len + relocs * sizeof(unsigned long);","source":"nvd"}],"published":"2025-02-27T02:12:05.165Z","modified":"2026-08-05T11:47:25.557Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"0b6be54d7386b7addbf9e5947366f94aad046938","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"6fb98e0576ea155267e206286413dcb3a3d55c12","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"bc8ca18b8ef4648532c001bd6c8151143b569275","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"95506c7f33452450346fbe2975c1359100f854ca","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"d17ca8f2dfcf423c439859995910a20e38b86f00","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"a009378af674b808efcca1e2e67916e79ce866b3","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"8e8cd712bb06a507b26efd2a56155076aa454345","status":"affected"},{"type":"git","introduced":"c995ee28d29d6f256c3a8a6c4e66469554374f25","fixed":"55cf2f4b945f6a6416cc2524ba740b83cc9af25a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.78","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.78"},{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b6be54d7386b7addbf9e5947366f94aad046938","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fb98e0576ea155267e206286413dcb3a3d55c12","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc8ca18b8ef4648532c001bd6c8151143b569275","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95506c7f33452450346fbe2975c1359100f854ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d17ca8f2dfcf423c439859995910a20e38b86f00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a009378af674b808efcca1e2e67916e79ce866b3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e8cd712bb06a507b26efd2a56155076aa454345","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55cf2f4b945f6a6416cc2524ba740b83cc9af25a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58010","url":"https://www.cve.org/CVERecord?id=CVE-2024-58010","licence":"CVE Terms of Use","modified":"2026-08-05T11:47:25.557Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58010","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58010","licence":"Public domain","modified":"2026-08-04T11:22:36.717Z"}],"updatedAt":"2026-11-25T22:58:52.103Z","epss":{"score":0.0027,"percentile":0.2053,"date":"2026-12-01T12:00:22.000Z"}}