Vulnerability · Published Mar 18, 2021 · Assigned by redhat

CVE-2020-35492

High 7.8

In plain English

A high-severity stack buffer overflow in cairo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.1%top 35.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows an attacker who can provide a crafted input file to cairo's image-compositor (for example, by convincing a user to open a file in an application using cairo, or if an application uses cairo on untrusted input) to cause a stack buffer overflow -> out-of-bounds WRITE. The highest impact from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8cairo1.15.12-6.el8ALSA-2022:1961
AlmaLinux:8cairo-devel1.15.12-6.el8ALSA-2022:1961
AlmaLinux:8cairo-gobject1.15.12-6.el8ALSA-2022:1961
AlmaLinux:8cairo-gobject-devel1.15.12-6.el8ALSA-2022:1961
AlmaLinux:8pixman0.38.4-2.el8ALSA-2022:1961
AlmaLinux:8pixman-devel0.38.4-2.el8ALSA-2022:1961
Alpine:v3.20cairo1.16.0-r2ALPINE-CVE-2020-35492
Alpine:v3.21cairo1.16.0-r2ALPINE-CVE-2020-35492
Alpine:v3.22cairo1.16.0-r2ALPINE-CVE-2020-35492
Alpine:v3.23cairo1.16.0-r2ALPINE-CVE-2020-35492
Alpine:v3.24cairo1.16.0-r2ALPINE-CVE-2020-35492
Debian:12cairo1.16.0-5DEBIAN-CVE-2020-35492
Debian:13cairo1.16.0-5DEBIAN-CVE-2020-35492
Debian:14cairo1.16.0-5DEBIAN-CVE-2020-35492
Rocky Linux:8cairo0:1.15.12-6.el8RLSA-2022:1961
Rocky Linux:8pixman0:0.38.4-2.el8RLSA-2022:1961

Affected products (as reported)

VendorProductVersions
n/a cairo All cairo versions

Weakness: CWE-121

References