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.
CVE-2025-50422 is fixed in 9 products on 1 platform, first by ALAS2023-2025-1172, released August 27, 2025. It is not reported as exploited. Patch Radar priority: Routine.
This update for cairo fixes the following issues: - CVE-2025-50422: Fixed Poppler crash on malformed input (bsc#1247589) - Update to version 1.18.4: + The dependency on LZO has been made optional through a build time configuration toggle. + You can build Cairo against a Freetype installation that does not have the FT_Color type. + Cairo tests now build on Solaris 11.4 with GCC 14. + The DirectWrite backend now builds on MINGW 11. + The DirectWrite backend now supports font variations and proper glyph coverage. - Use tarball in lieu of source service due to freedesktop gitlab migration, will switch back at next release at the latest. - Add pkgconfig(lzo2) BuildRequires: New optional dependency, build lzo2 support feature. - Convert to source service: allows for easier upgrades by the GNOME team. - Update to version 1.18.2: + The malloc-stats code has been removed from the tests directory + Cairo now requires a version of pixman equal to, or newer than, 0.40. + There have been multiple build fixes for newer versions of GCC for MSVC; for Solaris; and on macOS 10.7. + PNG errors caused by loading malformed data are correctly propagated to callers, so they can handle the case. + Both stroke and fill colors are now set when showing glyphs on a PDF surface. + All the font options are copied when creating a fallback font object. + When drawing text on macOS, Cairo now tries harder to select the appropriate font name. + Cairo now prefers the COLRv1 table inside a font, if one is available. + Cairo requires a C11 toolchain when building.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cairo · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo · opensuse-leap 15.6 | 1.18.4-150600.3.3.1 | SUSE-SU-2025:03449-1 | Oct 2, 2025 |
| cairo · sles 15.6 | 1.18.4-150600.3.3.1 | SUSE-SU-2025:03449-1 | Oct 2, 2025 |
| cairo · sles 15.7 | 1.18.4-150600.3.3.1 | SUSE-SU-2025:03449-1 | Oct 2, 2025 |
| cairo-debuginfo · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-debugsource · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-devel · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-gobject · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-gobject-debuginfo · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-gobject-devel · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-tools · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
| cairo-tools-debuginfo · amzn 2023 | 1.18.0-4.amzn2023.0.3 | ALAS2023-2025-1172 | Aug 27, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.