#VU21274 Out-of-bounds read in libgd


Published: 2019-09-23 | Updated: 2020-04-03

Vulnerability identifier: #VU21274

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-11038

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libgd
Universal components / Libraries / Libraries used by multiple products

Vendor: GD Software

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD). A remote attacker can create a specially crafted image, pass it to the affected application, trigger out-of-bounds read error and read contents of memory on the system.



Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

libgd: 2.1.0 - 2.2.5


External links
http://access.redhat.com/errata/RHSA-2019:2519
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821
http://bugs.php.net/bug.php?id=77973
http://bugzilla.redhat.com/show_bug.cgi?id=1724149
http://bugzilla.redhat.com/show_bug.cgi?id=1724432
http://bugzilla.suse.com/show_bug.cgi?id=1140118
http://bugzilla.suse.com/show_bug.cgi?id=1140120
http://github.com/libgd/libgd/issues/501
http://lists.debian.org/debian-lts-announce/2019/06/msg00003.html
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability