cve.bz

CVE-2020-35492 cairographics cairo: Out-of-bounds Write

7.8 highEPSS 1.0%Fix available

High (7.8) in cairographics cairo. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-35492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-35492?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-35492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-35492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cairographics:cairobefore 1.17.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9cairo1.14.8-1+deb9u1DLA-2518-1
Debian12, 13, 14cairo1.16.0-5DEBIAN-CVE-2020-35492
UbuntuPro:16.04:LTScairo1.14.6-1ubuntu0.1~esm1UBUNTU-CVE-2020-35492 USN-5407-1
UbuntuPro:18.04:LTScairo1.15.10-2ubuntu0.1+esm1UBUNTU-CVE-2020-35492
UbuntuPro:20.04:LTScairo1.16.0-4ubuntu1+esm1UBUNTU-CVE-2020-35492
Red Hatenterprise_linux:8::appstreamcairo, cairo-devel, cairo-gobject and 5 more0:1.15.12-6.el8RHSA-2022:1961
AlmaLinux8cairo, cairo-devel, cairo-gobject and 1 more1.15.12-6.el8ALSA-2022:1961
AlmaLinux8pixman, pixman-devel0.38.4-2.el8ALSA-2022:1961
Rocky Linux8cairo0:1.15.12-6.el8RLSA-2022:1961
Rocky Linux8pixman0:0.38.4-2.el8RLSA-2022:1961
Alpinev3.10, v3.11, v3.12cairo1.16.0-r3ALPINE-CVE-2020-35492
Alpinev3.13, v3.14, v3.15 and 9 morecairo1.16.0-r2ALPINE-CVE-2020-35492

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Libreoffice as shipped in Red Hat Enterprise Linux 6, 7, and 8 is not affected by this flaw as it was introduced in a newer version. Also note that while the flaw was originally discovered via Libreoffice, the root cause is in the cairo graphics library. This flaw has an adjusted CVSS score for cairo as shipped with Red Hat Enterprise Linux 8 because cairo is built with binary protections which limit the impact.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8cairo-0:1.15.12-6.el8Fixed 2022-05-10RHSA-2022:1961
Red Hat Enterprise Linux 5cairoOut of support scope
Red Hat Enterprise Linux 6cairoOut of support scope
Red Hat Enterprise Linux 6libreofficeNot affected
Red Hat Enterprise Linux 7cairoOut of support scope
Red Hat Enterprise Linux 7libreofficeNot affected
Red Hat Enterprise Linux 8libreofficeNot affected
Red Hat Enterprise Linux 9cairoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-35492.

References

Check your stackJSON