← Vulnerability feed

Vulnerability record · CVE-2018-19876 · published 5 December 2018

CVE-2018-19876: Cairographics cairo use after free vulnerability

Cairographics · Cairo

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.

6.5 CVSS 3.0 Medium EPSS 1.7% · top 23.5% CWE-416 · Use after free
6.5CVSS 3.0 base score, v2 4.3
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://bugs.webkit.org/show_bug.cgi?id=191595 Issue TrackingPatchThird Party Advisory
https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5 PatchThird Party Advisory
https://bugs.webkit.org/show_bug.cgi?id=191595 Issue TrackingPatchThird Party Advisory
https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5 PatchThird Party Advisory

Track CVE-2018-19876 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2020-35492Cairographics cairo stack-based buffer overflow vulnerabilityA flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows an attacker who can provide a crafted input file to …EPSS 1.1%7.5CVE-2017-9814Cairographics cairo out-of-bounds read vulnerabilitycairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling …EPSS 3.4%7.5CVE-2016-3190Opensuse memory buffer overflow vulnerabilityThe fill_xrgb32_lerp_opaque_spans function in cairo-image-compositor.c in cairo before 1.14.2 allows remote attackers to cause a denial of service (o…EPSS 1.8%6.5CVE-2019-6461Cairographics cairo vulnerabilityAn issue was discovered in cairo 1.16.0. There is an assertion problem in the function _cairo_arc_in_direction in the file cairo-arc.c.EPSS 2.1%6.5CVE-2019-6462Cairographics cairo vulnerabilityAn issue was discovered in cairo 1.16.0. There is an infinite loop in the function _arc_error_normalized in the file cairo-arc.c, related to _arc_max…EPSS 2.1%6.5CVE-2018-18064Cairographics cairo out-of-bounds write vulnerabilitycairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction betwee…EPSS 1.5%5.5CVE-2017-7475Cairographics cairo null pointer dereference vulnerabilityCairo version 1.15.4 is vulnerable to a NULL pointer dereference related to the FT_Load_Glyph and FT_Render_Glyph resulting in an application crash.EPSS 1.8%5.5CVE-2016-9082Cairographics cairo integer overflow vulnerabilityInteger overflow in the write_png function in cairo 1.14.6 allows remote attackers to cause a denial of service (invalid pointer dereference) via a l…EPSS 2.0%

Source: NIST National Vulnerability Database (record CVE-2018-19876), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.