CVE-2018-19876
published 2018-12-05CVE-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…
PriorityP424medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.71%
74.5th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cairographics | cairo | — | — |
| cairographics | cairo | >= 0 < 1.16.0-4 | 1.16.0-4 |
| cairographics | cairo | >= 0 < 1.16.0-4 | 1.16.0-4 |
| cairographics | cairo | >= 0 < 1.16.0-4 | 1.16.0-4 |
| cairographics | cairo | >= 0 < 1.16.0-4 | 1.16.0-4 |
| debian | cairo | < cairo 1.16.0-4 (bookworm) | cairo 1.16.0-4 (bookworm) |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_cairo_1.16.0-5_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-m5xr-7jg3-vh46: cairo 1
ghsa_unreviewed·2022-05-14
CVE-2018-19876 [MEDIUM] CWE-416 GHSA-m5xr-7jg3-vh46: cairo 1
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.
OSV
CVE-2018-19876: cairo 1
osv·2018-12-05·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876: cairo 1
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.
Microsoft
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 poi
vendor_msrc·2018-12-11·CVSS 6.5
CVE-2018-19876 [MEDIUM] CWE-416 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 poi
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we wil
Red Hat
cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
vendor_redhat·2018-11-13·CVSS 6.5
CVE-2018-19876 [MEDIUM] cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
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.
A vulnerability was found in Cairo due to a flaw in the cairo_ft_apply_variations function within cairo-ft-font.c, where an attacker could exploit this vulnerability by persuading a victim to open a specially crafted file, leading to a denial of service condition and causing the application to crash.
Statement: This vulnerability was rated as LOW severity because it requires the victim to open a specially crafted file, it doesn’t compromise system security, it can cause the application to cra
Debian
CVE-2018-19876: cairo - cairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memo...
vendor_debian·2018·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876: cairo - cairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memo...
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.
Scope: local
bookworm: resolved (fixed in 1.16.0-4)
bullseye: resolved (fixed in 1.16.0-4)
forky: resolved (fixed in 1.16.0-4)
sid: resolved (fixed in 1.16.0-4)
trixie: resolved (fixed in 1.16.0-4)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
bugzilla·2018-12-21·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue a
Bugzilla
CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
bugzilla·2018-12-21·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE:
Bugzilla
CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [epel-7]
bugzilla·2018-12-21·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [epel-7]
CVE-2018-19876 mingw-cairo: cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Bugzilla
CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
bugzilla·2018-12-21·CVSS 6.5
CVE-2018-19876 [MEDIUM] CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
CVE-2018-19876 cairo: Invalid free in cairo_ft_apply_variations() resulting in a denial of service
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.
Upstream issue:
https://bugs.webkit.org/show_bug.cgi?id=191595
Upstream MR:
https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5
Discussion:
Created cairo tracking bugs for this issue:
Affects: fedora-all [bug 1661456]
Created mingw-cairo tracking bugs for this issue:
Affects: epel-7 [bug 1661455]
Affects: fedora-all [bug 1661457]
---
Analysis:
This is essentially a bug in which cairo tries to free a FT_MM_Var data structure using system free() rather than usi
2018-12-05
Published