cve.bz

CVE-2018-19876 cairographics cairo: Use After Free

6.5 mediumEPSS 1.7%Fix available

Medium (6.5) in cairographics cairo. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-19876 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-19876?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-19876?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-19876 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cairographics:cairo1.16.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14cairo1.16.0-4DEBIAN-CVE-2018-19876
Alpinev3.9, v3.10, v3.11 and 13 morecairo1.16.0-r1ALPINE-CVE-2018-19876

From the distributions' data via OSV.dev: the Debian Security Tracker; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's 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 crash temporarily.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5cairoNot affected
Red Hat Enterprise Linux 6cairoNot affected
Red Hat Enterprise Linux 7cairoNot affected
Red Hat Enterprise Linux 8cairoFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-19876.

References

Check your stackJSON