CVEfocus › CVE database › CVE-2018-19876

CVE-2018-19876

CVSS 6.5 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2018-12-05Updated 2026-10-15Assigner: mitre

cairo 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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
4Fix pending
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04cairoNot affected
vulnerable_code_not_present
Ubuntu 14.04cairoNot affected
vulnerable_code_not_present
Debian 14cairoFixed1.16.0-4DEBIAN-CVE-2018-19876
Debian 13cairoFixed1.16.0-4DEBIAN-CVE-2018-19876
Debian 12cairoFixed1.16.0-4DEBIAN-CVE-2018-19876
Red Hat Enterprise Linux 8cairoFix pending
Fix deferred
Red Hat Enterprise Linux 8cairo-develFix pending
Fix deferred
Red Hat Enterprise Linux 8cairo-gobjectFix pending
Fix deferred
Red Hat Enterprise Linux 8cairo-gobject-develFix pending
Fix deferred
Red Hat Enterprise Linux 7cairoNot affected
Red Hat Enterprise Linux 7cairo-develNot affected
Red Hat Enterprise Linux 7cairo-gobjectNot affected
Red Hat Enterprise Linux 7cairo-gobject-develNot affected
Red Hat Enterprise Linux 7cairo-toolsNot affected
Red Hat Enterprise Linux 6cairoNot affected
Red Hat Enterprise Linux 6cairo-develNot affected
Red Hat Enterprise Linux 5cairoNot affected
Alpine Linux 3.24cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.23cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.22cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.21cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.20cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.19cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.18cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.17cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.16cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.15cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.14cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.13cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.12cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.11cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.10cairoFixed1.16.0-r1ALPINE-CVE-2018-19876
Alpine Linux 3.9cairoFixed1.16.0-r1ALPINE-CVE-2018-19876

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.