Descriptioncairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memory using a free function incompatible with WebKit's fastMalloc, leading to an application crash with a "free(): invalid pointer" error.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs915801, 916389

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cairo (PTS)buster1.16.0-4+deb10u1fixed
sid, trixie1.18.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cairosourcejessie(not affected)
cairosourcestretch(not affected)
cairosource(unstable)1.16.0-4915801, 916389


[stretch] - cairo <not-affected> (Vulnerable code introduced later)
[jessie] - cairo <not-affected> (Vulnerable code introduced later)
Code introduced in and,
and became vulnerable with freetype 2.9 which allows to define a different allocator. Partially
fixed in

Search for package or bug name: Reporting problems