#VU21747 Use-after-free in libvips


Published: 2019-10-13

Vulnerability identifier: #VU21747

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-17534

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

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

Vendor: libvips

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the vips_foreign_load_gif_scan_image() function in foreign/gifload.c in libvips library when trying to access a color map before a DGifGetImageDesc call. A remote attacker can pass specially crafted input to the application, trigger a use-after-free error and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libvips: 8.8.0 - 8.8.1


External links
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16796
http://github.com/libvips/libvips/commit/ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d
http://github.com/libvips/libvips/compare/v8.8.1...v8.8.2


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