CVE Database›Document archive›CVE-2018-18064

CVE-2018-18064

cairo: Stack-based buffer overflow via parsing of crafted WebKitGTK+ document

Loading…

Severity

Moderate

Red Hat Product Security

6.3

CVSS 3.0

Review impact separately from score.

Published · October 8, 2018

Updated · January 21, 2026

Description

cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Attackers can use specially-crafted files to trigger this stack-buffer overflow in cairo. Applications compiled with cairo, which do not parse untrusted 2D image files are not vulnerable to this flaw. cairo package in Red Hat Enterprise Linux 7 and 8 is compiled with gcc's Stack Smashing Protection, which may reduce the impact of this flaw to crash only.

CVSS / CWE

CVSS 3.0 · 6.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

CWE-121 · Stack-based Buffer Overflow