Out-of-bounds read in libgd



Published: 2017-03-15 | Updated: 2020-07-28
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-6906
CWE-ID CWE-125
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
libgd
Universal components / Libraries / Libraries used by multiple products

Vendor GD Software

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU32119

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-6906

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a local non-authenticated attacker to perform a denial of service (DoS) attack.

The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file, related to the decompression buffer.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libgd: 2.2.0 - 2.2.3

External links

http://www.debian.org/security/2017/dsa-3777
http://www.securityfocus.com/bid/96503
http://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
http://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
http://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###