Improper input validation in Cairo - CVE-2018-19876

 

Improper input validation in Cairo - CVE-2018-19876

Published: December 6, 2018 / Updated: July 13, 2021


Vulnerability identifier: #VU16331
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-19876
CWE-ID: CWE-20
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 vulnerability exists in the cairo_ft_apply_variations() function, as defined in the cairo-ft-font.c source code file due to an error when processing malicious input. A remote attacker can attempt to free memory by using a free function that is incompatible with WebKit's fastMalloc and cause the application to crash, resulting in a DoS condition.


Affected software

Cairo
Arch Linux
openEuler
Fedora
cairo (Alpine package)
cairo
cairo-devel
cairo-debugsource
cairo-debuginfo

How to mitigate CVE-2018-19876

Install update from vendor's website.

Cairo - update to 1.16.1
cairo (Alpine package) - update to 1.16.0-r1
cairo - update to 1.15.14-6
cairo-devel - update to 1.15.14-6
cairo-debugsource - update to 1.15.14-6
cairo-debuginfo - update to 1.15.14-6
cairo - update to 1.16.0-3.fc29

External References

Related Security Bulletins