CVE-2018-19876
cairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memory using a free...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2018-19876- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-19876- Updated
- 2026-11-02
EUVDEUVD-2018-11550 No score
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.
- Record
EUVD-2018-11550- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-m5xr-7jg3-vh46
6.5
cairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memory using a free...
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.
- Record
GHSA-m5xr-7jg3-vh46- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-19876
6.5
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.
- Record
ALPINE-CVE-2018-19876- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2018-19876
6.5
CVE-2018-19876 does not affect BellSoft software
- Record
BELL-CVE-2018-19876- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2018-19876- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-19876
6.5
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.
- Record
DEBIAN-CVE-2018-19876- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-14
6.5
cairo 1.16.0, in `cairo_ft_apply_variations()` in cairo-ft-font.c, would free memory using a free...
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.
- Record
JLSEC-2025-14- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cairoAlpine:v3.10 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.11 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.12 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.13 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.14 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.15 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.16 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.17 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.18 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.19 |
before 1.16.0-r1 | 1.16.0-r1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cairoAlpine:v3.20 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.21 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.22 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.23 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.24 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoAlpine:v3.9 |
before 1.16.0-r1 | 1.16.0-r1 |
cairoDebian:12 |
before 1.16.0-4 | 1.16.0-4 |
cairoDebian:13 |
before 1.16.0-4 | 1.16.0-4 |
cairoDebian:14 |
before 1.16.0-4 | 1.16.0-4 |
Cairo_jllJulia |
1.16.0+0 up to 1.18.0+0 | 1.18.0+0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-19876 is a medium vulnerability (CVSS 6.5) in Cairographics Cairo, published December 5, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in cairo 1.16.0-r1.
References
bugs.webkit.org/show_bug.cgi?id=191595
gitlab.freedesktop.org/cairo/cairo/merge_requests/5
nvd.nist.gov/vuln/detail/CVE-2018-19876
github.com/advisories/GHSA-m5xr-7jg3-vh46
security.alpinelinux.org/vuln/CVE-2018-19876
docs.bell-sw.com/security/cves/CVE-2018-19876
security-tracker.debian.org/tracker/CVE-2018-19876