Read the docs
TI-2020-18014 Aliases CVE-2020-35492GHSA-65pg-7gjm-q28m

Stack-based buffer overflow in cairo

Priority LOW 36CWE-121Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 3 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01059 64th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—cairoAll cairo versions—No fix listedCNA
  • cairo Vendor— Affected All cairo versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:cairographics:cairo:*:*:*:*:*:*:*:*before 1.17.4Vulnerablecairographics
  • cpe:2.3:a:cairographics:cairo:*:*:*:*:*:*:*:* Versions before 1.17.4 Vulnerable ·cairographics

Remediation

Red Hat 1 advisory

  • RHSA-2022:1961 Released 2022-05-10 · Red Hat rating Moderate
    cairo and pixman security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 8) cairo-1.15.12-6.el8, cairo-devel-1.15.12-6.el8, cairo-gobject-1.15.12-6.el8 +1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:1961
Not affected: 5 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux AppStream (v. 8)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-35492
  2. 2026-10-03 Alias added: GHSA-65pg-7gjm-q28m

References

  • TI-2017-07194 cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a… CVSS 3.1HIGH 7.5
  • TI-2016-02676 The fill_xrgb32_lerp_opaque_spans function in cairo-image-compositor.c in cairo before… CVSS 3.0HIGH 7.5
  • TI-2019-04529 An issue was discovered in cairo 1.16.0. CVSS 3.1MEDIUM 6.5
  • TI-2019-04528 An issue was discovered in cairo 1.16.0. CVSS 3.1MEDIUM 6.5
  • TI-2014-04187 The cairo_image_surface_get_data function in Cairo 1.10.2, as used in GTK+ and Wireshark… CVSS 2.0MEDIUM 5.0
  • TI-2018-14080 cairo 1.16.0, in cairo_ft_apply_variations() in cairo-ft-font.c, would free memory using… CVSS 3.0MEDIUM 6.5
See all 9 →

Sources