CVE-2020-35492 Memory corruption in cairo
A stack buffer overflow in Cairo's image-compositor allows attackers to execute arbitrary code or cause denial of service via crafted input files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-35492?
CVE-2020-35492 is a high-severity memory corruption vulnerability in cairo, published on 18 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Which versions are affected by CVE-2020-35492?
It affects 1 product.
Linux distribution packages (16)
cairo AlmaLinux:8 | All versions | 1.15.12-6.el8 |
cairo-devel AlmaLinux:8 | All versions | 1.15.12-6.el8 |
cairo-gobject AlmaLinux:8 | All versions | 1.15.12-6.el8 |
cairo-gobject-devel AlmaLinux:8 | All versions | 1.15.12-6.el8 |
pixman AlmaLinux:8 | All versions | 0.38.4-2.el8 |
pixman-devel AlmaLinux:8 | All versions | 0.38.4-2.el8 |
cairo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-gobject Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-gobject-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-gobject-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo-tools-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.15.12-6.el8 |
cairo Rocky Linux:8 | All versions | 0:1.15.12-6.el8 |
pixman Rocky Linux:8 | All versions | 0:0.38.4-2.el8 |
Products include Cairographics Cairo.
How do I fix CVE-2020-35492?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35492 being exploited?
There is no known exploitation of CVE-2020-35492 in the wild and no public exploit code.
Other vulnerabilities in cairo
Sources
Also known as ALPINE-CVE-2020-35492, ALSA-2022:1961, CLSA-2026-1787645764, DEBIAN-CVE-2020-35492, DLA-2518-1, GHSA-65pg-7gjm-q28m and 6 more.