CVE-2020-35492: cairographics cairo Stack-based Buffer Overflow
Vulnerability summary
CVE-2020-35492 is a high (CVSS 7.8) Stack-based Buffer Overflow vulnerability in cairographics cairo. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 18-03-2021PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.06%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
-0.04 pp
From 1.10% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Redhat8 products
- cairo< 0:1.15.12-6.el8
- cairo-debuginfo< 0:1.15.12-6.el8
- cairo-debugsource< 0:1.15.12-6.el8
- cairo-devel< 0:1.15.12-6.el8
- cairo-gobject< 0:1.15.12-6.el8
Alpine1 product
- cairo< 1.16.0-r3 | < 1.16.0-r2
Cairographics1 product
- cairo< 1.17.4
Debian1 product
- cairo< 1.16.0-5 | < 1.14.8-1+deb9u1
Mageia1 product
- cairo< 1.16.0-2.2.mga7
Ubuntu1 product
- cairo< 1.14.6-1ubuntu0.1~esm1 | < 1.15.10-2ubuntu0.1+esm1 | < 1.16.0-4ubuntu1+esm1
6 vendors · 13 products
References
17 links- bugzilla.redhat.com/show_bug.cgi?id=1898396X Refsource MISCREPORTIssue TrackingPatchThird Party Advisory