CVE-2020-35492
A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-35492- Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2020-23161
0.0
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.
- Record
EUVD-2020-23161- CVSS
- 0.0 None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-65pg-7gjm-q28m
7.8
A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows...
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.
- Record
GHSA-65pg-7gjm-q28m- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-121, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-35492
7.8
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.
- Record
ALPINE-CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2020-35492
7.8
CVE-2020-35492 does not affect BellSoft software
- Record
BELL-CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSV
7.8
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.
- Record
CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-35492
7.8
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.
- Record
DEBIAN-CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-17
7.8
A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4
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.
- Record
JLSEC-2025-17- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSVOESA-2021-1155
7.8
cairo security update
Security Fix(es):
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.(CVE-2020-35492)
- Record
OESA-2021-1155- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:1961
5.5
Red Hat Security Advisory: cairo and pixman security and bug fix update
- Record
RHSA-2022:1961- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2022:1961
7.8
Moderate: cairo and pixman security and bug fix update
Cairo is a 2D graphics library designed to provide high-quality display and print output.
Pixman is a pixel manipulation library for the X Window System and Cairo.
Security Fix(es):
- cairo: libreoffice slideshow aborts with stack smashing in cairo's composite_boxes (CVE-2020-35492)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.6 Release Notes linked from the References section.
- Record
RLSA-2022:1961- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-35492
7.8
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.
- Record
UBUNTU-CVE-2020-35492- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2022:1961 No score
Moderate: cairo and pixman security and bug fix update
Cairo is a 2D graphics library designed to provide high-quality display and print output.
Pixman is a pixel manipulation library for the X Window System and Cairo.
Security Fix(es):
- cairo: libreoffice slideshow aborts with stack smashing in cairo's composite_boxes (CVE-2020-35492)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2022:1961- Updated
- 2026-11-02
OSVCLSA-2026-1787645764 No score
Fix CVE(s): CVE-2020-35492
- SECURITY UPDATE: stack-based buffer overflow in the image compositor
- debian/patches/CVE-2020-35492.patch: in _inplace_src_spans() in src/cairo-image-compositor.c, take the mask write pointer from pixman_image_get_data(r->mask) instead of the r->_buf tail of the stack-allocated span renderer, so a row wider than SZ_BUF (whose mask pixman already backs with a heap allocation) can no longer be written past the end of the stack buffer.
- CVE-2020-35492
- Record
CLSA-2026-1787645764- Updated
- 2026-11-02
OSVMGASA-2021-0028 No score
Updated cairo packages fix a security vulnerability
LibreOffice slideshow aborts with stack smashing in cairo’s composite_boxes (CVE-2020-35492).
- Record
MGASA-2021-0028- Updated
- 2026-11-02
OSVUSN-5407-1 No score
cairo vulnerabilities
Gustavo Grieco, Alberto Garcia, Francisco Oca, Suleman Ali, and others discovered that Cairo incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2016-9082, CVE-2017-9814, CVE-2019-6462)
Stephan Bergmann discovered that Cairo incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2020-35492)
- Record
USN-5407-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cairoAlpine:v3.10 |
before 1.16.0-r3 | 1.16.0-r3 |
cairoAlpine:v3.11 |
before 1.16.0-r3 | 1.16.0-r3 |
cairoAlpine:v3.12 |
before 1.16.0-r3 | 1.16.0-r3 |
cairoAlpine:v3.13 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.14 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.15 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.16 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.17 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.18 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.19 |
before 1.16.0-r2 | 1.16.0-r2 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cairoAlpine:v3.20 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.21 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.22 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.23 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlpine:v3.24 |
before 1.16.0-r2 | 1.16.0-r2 |
cairoAlmaLinux:8 |
before 1.15.12-6.el8 | 1.15.12-6.el8 |
cairo-develAlmaLinux:8 |
before 1.15.12-6.el8 | 1.15.12-6.el8 |
cairo-gobjectAlmaLinux:8 |
before 1.15.12-6.el8 | 1.15.12-6.el8 |
cairo-gobject-develAlmaLinux:8 |
before 1.15.12-6.el8 | 1.15.12-6.el8 |
pixmanAlmaLinux:8 |
before 0.38.4-2.el8 | 0.38.4-2.el8 |
pixman-develAlmaLinux:8 |
before 0.38.4-2.el8 | 0.38.4-2.el8 |
cairo-perf-utilsTuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
libcairo-gobject2TuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
libcairo-script-interpreter2TuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
libcairo2TuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
libcairo2-devTuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
libcairo2-docTuxCare:Ubuntu:18.04 |
before 1.15.10-2ubuntu0.1+tuxcare.els1 | 1.15.10-2ubuntu0.1+tuxcare.els1 |
cairoDebian:12 |
before 1.16.0-5 | 1.16.0-5 |
cairoDebian:13 |
before 1.16.0-5 | 1.16.0-5 |
cairoDebian:14 |
before 1.16.0-5 | 1.16.0-5 |
cairoDebian:9 |
before 1.14.8-1+deb9u1, plus listed versions 1.14.8-1 |
1.14.8-1+deb9u1 |
Cairo_jllJulia |
before 1.18.0+0 | 1.18.0+0 |
cairoMageia:7 |
before 1.16.0-2.2.mga7 | 1.16.0-2.2.mga7 |
cairoopenEuler:20.03-LTS-SP1 |
before 1.16.0-3.oe1 | 1.16.0-3.oe1 |
cairoRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-develRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-gobjectRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-gobject-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-gobject-develRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairo-tools-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
pixmanRocky Linux:8 |
before 0:0.38.4-2.el8 | 0:0.38.4-2.el8 |
cairoRocky Linux:8 |
before 0:1.15.12-6.el8 | 0:1.15.12-6.el8 |
cairoUbuntu:Pro:16.04:LTS |
before 1.14.6-1ubuntu0.1~esm1, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-1 |
1.14.6-1ubuntu0.1~esm1 |
cairoUbuntu:Pro:18.04:LTS |
before 1.15.10-2ubuntu0.1+esm1, plus listed versions 1.14.10-1ubuntu11.15.8-21.15.8-31.15.10-21.15.10-2ubuntu0.1 |
1.15.10-2ubuntu0.1+esm1 |
cairoUbuntu:Pro:20.04:LTS |
before 1.16.0-4ubuntu1+esm1, plus listed versions 1.16.0-41.16.0-4ubuntu1 |
1.16.0-4ubuntu1+esm1 |
cairoUbuntu:Pro:16.04:LTS From an advisory covering 4 CVEs |
before 1.14.6-1ubuntu0.1~esm1, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-1 |
1.14.6-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35492 is a high vulnerability (CVSS 7.8) in Cairographics Cairo, published January 6, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.06%, the 64th percentile. Fixed in cairo 1.16.0-r3.
References
bugzilla.redhat.com/show_bug.cgi?id=1898396
security.gentoo.org/glsa/202305-21
nvd.nist.gov/vuln/detail/CVE-2020-35492
gitlab.freedesktop.org/cairo/cairo/-/commit/03a820b173ed1fdef6ff14b4468f5dbc02ff59be
access.redhat.com/errata/RHSA-2022:1961
access.redhat.com/security/cve/CVE-2020-35492
Show 22 moreShow less
github.com/advisories/GHSA-65pg-7gjm-q28m
security.alpinelinux.org/vuln/CVE-2020-35492
errata.almalinux.org/8/ALSA-2022-1961.html
vulners.com/cve/CVE-2020-35492
docs.bell-sw.com/security/cves/CVE-2020-35492
errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1787645764.html
security-tracker.debian.org/tracker/CVE-2020-35492
advisories.mageia.org/MGASA-2021-0028.html
bugs.mageia.org/show_bug.cgi?id=28084
debian.org/lts/security/2021/dla-2518
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1155
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_1961.json
cve.org/CVERecord?id=CVE-2020-35492
errata.rockylinux.org/RLSA-2022:1961
ubuntu.com/security/CVE-2020-35492
ubuntu.com/security/notices/USN-5407-1
ubuntu.com/security/notices/USN-8140-1
ubuntu.com/security/CVE-2016-9082
ubuntu.com/security/CVE-2017-9814
ubuntu.com/security/CVE-2019-6462