CVE-2018-19876

MEDIUM

cairo 1.16.0 - Use-After-Free in cairo_ft_apply_variations

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://bugs.webkit.org/show_bug.cgi?id=191595
Patch, Third Party Advisory x_refsource_misc
https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5

Scores

CVSS v3 6.5
EPSS 0.0171
EPSS Percentile 74.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-416
Status published
Products (1)
cairographics/cairo 1.16.0
Published Dec 05, 2018
Tracked Since Feb 18, 2026