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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs915801, 916389

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cairo (PTS)stretch1.14.8-1fixed
stretch (security)1.14.8-1+deb9u1fixed
bookworm, sid, bullseye1.16.0-5fixed

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