Out-of-bounds read in Cairo - CVE-2017-9814

 

Out-of-bounds read in Cairo - CVE-2017-9814

Published: May 14, 2018 / Updated: May 14, 2018


Vulnerability identifier: #VU12616
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9814
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in cairo-truetype-subset.c due to out-of-bounds read because of mishandling of an unexpected malloc(0) call. A remote attacker can cause the service to crash.

Affected software

Cairo
Gentoo Linux
Opensuse
Ubuntu
cairo (Ubuntu package)
cairo-perf-utils (Ubuntu package)
libcairo2 (Ubuntu package)

How to mitigate CVE-2017-9814

Install update from vendor's website.

cairo (Ubuntu package) - addressed in versions 1.14.6-1ubuntu0.1~esm2, 1.15.10-2ubuntu0.1+esm1, 1.16.0-4ubuntu1+esm1, 1.16.0-5ubuntu2.1
cairo-perf-utils (Ubuntu package) - update to 1.14.61ubuntu0.1~esm1
libcairo2 (Ubuntu package) - update to 1.14.61ubuntu0.1~esm1

External References

Related Security Bulletins