CVE-2025-50422 Null dereference in Cairo

Low 2.9 Published Updated

An attacker can cause a denial of service via a null pointer dereference in the Cairo graphics library when processing specific font data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-50422?

CVE-2025-50422 is a low-severity vulnerability in cairographics Cairo, published on 4 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Cairo through 1.18.4, as used in Poppler through 25.08.0, has an "unscaled->face == NULL" assertion failure for _cairo_ft_unscaled_font_fini in cairo-ft-font.c.

Weakness: CWE-617

Which versions are affected by CVE-2025-50422?

Linux distribution packages (10)
cairo SUSE:Linux Enterprise Micro 5.2All versions1.16.0-150200.5.8.1
cairo SUSE:Linux Enterprise Micro 5.3All versions1.16.0-150400.11.9.1
cairo SUSE:Linux Enterprise Micro 5.4All versions1.16.0-150400.11.9.1
cairo SUSE:Linux Enterprise Micro 5.5All versions1.16.0-150400.11.9.1
cairo SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.18.4-150600.3.3.1
cairo SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions1.18.4-150600.3.3.1
cairo SUSE:Linux Enterprise Module for Desktop Applications 15 SP6All versions1.18.4-150600.3.3.1
cairo SUSE:Linux Enterprise Module for Desktop Applications 15 SP7All versions1.18.4-150600.3.3.1
cairo openSUSE:Leap 15.6All versions1.18.4-150600.3.3.1
cairo openSUSE:TumbleweedAll versions1.18.4-3.1

How do I fix CVE-2025-50422?

Upgrade to a fixed version.

Is CVE-2025-50422 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50422 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as AZL-66159, AZL-67719, DEBIAN-CVE-2025-50422, ECHO-7fd4-8457-9821, GHSA-6f98-2v97-grfv, JLSEC-2026-1194 and 14 more.

Is CVE-2025-50422 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free