Use-after-free in libvips library



Published: 2019-10-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-17534
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libvips
Universal components / Libraries / Libraries used by multiple products

Vendor libvips

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU21747

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 - Use After Free

Exploit availability: No

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.



###SIDEBAR###