Use-after-free in libvips - CVE-2019-17534

 

Use-after-free in libvips - CVE-2019-17534

Published: October 13, 2019


Vulnerability identifier: #VU21747
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-17534
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libvips
Affected software:
libvips

Detailed vulnerability 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.


How to mitigate CVE-2019-17534

Install updates from vendor's website.

Sources