Out-of-bounds write in godot - CVE-2021-26826

 

Out-of-bounds write in godot - CVE-2021-26826

Published: March 26, 2021 / Updated: March 7, 2023


Vulnerability identifier: #VU51744
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-26826
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing .TGA image files. A remote attacker can create a specially crafted .TGA image file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

godot
Arch Linux
Fedora
Ubuntu
godot
godot (Ubuntu package)

How to mitigate CVE-2021-26826

Install update from vendor's website.

godot - update to 3.1.2-2.el7
godot (Ubuntu package) - addressed in versions 3.2-stable-2ubuntu0.1~esm1, 3.2.3-stable-1ubuntu0.1~esm1, 3.5.2-stable-2ubuntu0.24.04.1~esm1, 3.5.2-stable-2ubuntu0.24.10.1, 3.6+ds-2ubuntu0.1

External References

Related Security Bulletins