Every CVE Search/ Get API key

CVE-2020-35492

A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows...

7.8 HighFix available

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

1.06%Up 0.6 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 NoneCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cairo
Alpine:v3.10
before 1.16.0-r3
1.16.0-r3
cairo
Alpine:v3.11
before 1.16.0-r3
1.16.0-r3
cairo
Alpine:v3.12
before 1.16.0-r3
1.16.0-r3
cairo
Alpine:v3.13
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.14
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.15
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.16
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.17
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.18
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.19
before 1.16.0-r2
1.16.0-r2
Show 38 moreShow less
Affected packages
PackageAffectedFixed
cairo
Alpine:v3.20
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.21
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.22
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.23
before 1.16.0-r2
1.16.0-r2
cairo
Alpine:v3.24
before 1.16.0-r2
1.16.0-r2
cairo
AlmaLinux:8
before 1.15.12-6.el8
1.15.12-6.el8
cairo-devel
AlmaLinux:8
before 1.15.12-6.el8
1.15.12-6.el8
cairo-gobject
AlmaLinux:8
before 1.15.12-6.el8
1.15.12-6.el8
cairo-gobject-devel
AlmaLinux:8
before 1.15.12-6.el8
1.15.12-6.el8
pixman
AlmaLinux:8
before 0.38.4-2.el8
0.38.4-2.el8
pixman-devel
AlmaLinux:8
before 0.38.4-2.el8
0.38.4-2.el8
cairo-perf-utils
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
libcairo-gobject2
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
libcairo-script-interpreter2
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
libcairo2
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
libcairo2-dev
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
libcairo2-doc
TuxCare:Ubuntu:18.04
before 1.15.10-2ubuntu0.1+tuxcare.els1
1.15.10-2ubuntu0.1+tuxcare.els1
cairo
Debian:12
before 1.16.0-5
1.16.0-5
cairo
Debian:13
before 1.16.0-5
1.16.0-5
cairo
Debian:14
before 1.16.0-5
1.16.0-5
cairo
Debian:9
before 1.14.8-1+deb9u1, plus listed versions
1.14.8-1
1.14.8-1+deb9u1
Cairo_jll
Julia
before 1.18.0+0
1.18.0+0
cairo
Mageia:7
before 1.16.0-2.2.mga7
1.16.0-2.2.mga7
cairo
openEuler:20.03-LTS-SP1
before 1.16.0-3.oe1
1.16.0-3.oe1
cairo
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-devel
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-gobject
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-gobject-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-gobject-devel
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo-tools-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.15.12-6.el8
0:1.15.12-6.el8
pixman
Rocky Linux:8
before 0:0.38.4-2.el8
0:0.38.4-2.el8
cairo
Rocky Linux:8
before 0:1.15.12-6.el8
0:1.15.12-6.el8
cairo
Ubuntu: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
cairo
Ubuntu: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
cairo
Ubuntu: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
cairo
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 22 moreShow less
MoveEnter Open