Use After Free in Cairographics Cairo
CVE-2018-19876
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cairographics Cairo — versions 1.16.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (CoolerVoid/master_librarian, facebookincubator/meta-fbvuln). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.webkit.org/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- gitlab.freedesktop.org/cairo/cairo/merge_requests/5 (Patch, Third Party Advisory)