{"id":"CVE-2021-26825","aliases":["CVE-2021-26825"],"related":[],"kind":"vulnerability","state":"published","title":"An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files.","summary":"An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files. The vulnerability exists in ImageLoaderTGA::load_image() function at line: const size_t buffer_size = (tga_header.image_width * tga_header.image_height) * pixel_size; The bug leads to Dynamic stack buffer overflow. Depending on the context of the application, attack vector can be local or remote, and can lead to code execution and/or system crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files. The vulnerability exists in ImageLoaderTGA::load_image() function at line: const size_t buffer_size = (tga_header.image_width * tga_header.image_height) * pixel_size; The bug leads to Dynamic stack buffer overflow. Depending on the context of the application, attack vector can be local or remote, and can lead to code execution and/or system crash.","source":"cvelist"},{"lang":"es","text":"Se presenta un problema de desbordamiento de enteros en Godot Engine versiones hasta v3.2, que puede ser desencadenado al cargar archivos de imagen .TGA especialmente diseñados.&#xa0;La vulnerabilidad se presenta en la función ImageLoaderTGA::load_image() en la línea: const size_t buffer_size = (tga_header.image_width * tga_header.image_height) * pixel_size;&#xa0;El bug conlleva a un desbordamiento del búfer de la pila Dinámica.&#xa0;Dependiendo del contexto de la aplicación, el vector de ataque puede ser local o remoto y puede conllevar a una ejecución del código y/o al bloqueo del sistema","source":"nvd"}],"published":"2021-02-08T14:58:40.000Z","modified":"2026-06-17T03:43:49.513Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"3.2"}],"vendor":"godotengine","product":"godot_engine","cpe":"cpe:2.3:a:godotengine:godot_engine:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/godotengine/godot/pull/45702","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/godotengine/godot/pull/45702/files","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26825","url":"https://www.cve.org/CVERecord?id=CVE-2021-26825","licence":"CVE Terms of Use","modified":"2024-08-03T20:33:41.378Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26825","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26825","licence":"Public domain","modified":"2026-06-17T03:43:49.513Z"}],"updatedAt":"2026-11-25T22:57:59.837Z","epss":{"score":0.01611,"percentile":0.76662,"date":"2026-12-01T12:00:22.000Z"}}