Use After Free Affecting cairo package, versions <1.16.0-4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.71% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-CAIRO-17963728
  • published14 Jul 2026
  • disclosed5 Dec 2018

Introduced: 5 Dec 2018

CVE-2018-19876  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Echo:latest cairo to version 1.16.0-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cairo package and not the cairo package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.