CVE-2017-7475
Medium · 5.5CVSS
5.5
EPSS
1.8%
Published
May 19, 2017
CISA due date
—
Cloudanix analysis
A graphics library bug can make certain command-line tools crash when they try to handle particular files, so updating those tools stops the unexpected shutdowns.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A NULL pointer dereference in Cairo 1.15.4 during FT_Load_Glyph and FT_Render_Glyph operations causes an immediate application crash.
Why it matters to the business
Tools depending on the vulnerable library version, such as certain yq distributions, can be forced to terminate unexpectedly when processing crafted inputs, interrupting automated workflows and requiring restarts or manual intervention.
How an attack unfolds
An attacker supplies a specially crafted font file that triggers the FreeType glyph functions inside Cairo; when the application attempts to load or render glyphs from the file, the NULL dereference occurs and the process crashes. The attack requires local file access or user interaction and has seen no widespread exploitation since disclosure.
How to fix it
Upgrade yq on Chainguard to 4.42.1-r2 or newer and on Wolfi to 4.42.1-r2 or newer; rebuild any containers or packages that embed the vulnerable Cairo dependency.
How to confirm the fix worked
Confirm the installed yq package reports version 4.42.1-r2 or later; attempt to process known triggering font samples in a test environment and verify no crash occurs.
Typical attack path
- Obtain or craft a font file that triggers the NULL dereference path in FT_Load_Glyph/FT_Render_Glyph
- Cause the affected application to open or render the font (for example via yq processing that pulls in Cairo)
- Application crashes with a segmentation fault or abort
How to detect it
Review application and system logs for segmentation faults or abort signals occurring during font or glyph processing; correlate crashes with use of yq or other Cairo-dependent binaries.
What your security team should do
- Apply the listed fixed yq package versions immediately on Chainguard and Wolfi systems
- Scan container images and build pipelines for older yq versions that pull in vulnerable Cairo
- Add Cairo-related crash signatures to application monitoring to detect residual exposure
The record
Cairo version 1.15.4 is vulnerable to a NULL pointer dereference related to the FT_Load_Glyph and FT_Render_Glyph resulting in an application crash.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| RubyGems | cairo | 1.15.4 | 1.15.5 |
| Debian:10 | cairo | 0 | No fix |
| Debian:11 | cairo | 0 | No fix |
| Debian:12 | cairo | 0 | No fix |
| Debian:13 | cairo | 0 | No fix |
| Mageia:7 | cairo | 0 | 1.16.0-2.1.mga7 |
| SUSE:Linux Enterprise Desktop 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Server 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | cairo | 0 | 1.8.8-2.3.7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | cairo | 0 | 1.15.2-24.1 |
| Ubuntu:18.04:LTS | cairo | 0 | No fix |
| Ubuntu:20.04:LTS | cairo | 0 | No fix |
| Ubuntu:22.04:LTS | cairo | 0 | No fix |
| Ubuntu:24.04:LTS | cairo | 0 | No fix |
| Ubuntu:24.10 | cairo | 0 | No fix |
| Ubuntu:25.04 | cairo | 0 | No fix |
| Ubuntu:25.10 | cairo | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | cairo | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | cairo | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | cairo | 0 | No fix |
| gem | cairo | 1.15.4 | No fix |
Related vulnerabilities
- CVE-2017-9814 cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a… Also affects cairo
- CVE-2025-50422 Cairo through 1.18.4, as used in Poppler through 25.08.0, has an "unscaled->face == NULL"… Also affects cairo
- CVE-2016-9082 Integer overflow in the write_png function in cairo 1.14.6 allows remote attackers to… Also affects cairo
- CVE-2026-121522 In BuildKit versions v0.26.0 through v0.34.1, a specific build definition that resolves… CWE-476
- CVE-2026-120955 The GridFS file download API in the MongoDB C Driver does not check the result of an… CWE-476
- CVE-2026-115297 NULL Pointer Dereference (CWE-476) in the AMQP protocol parser in Packetbeat can lead to… CWE-476
- CVE-2026-120758 HDF5 through 2.2.0 contains a NULL pointer dereference vulnerability in H5HL_unprotect()… CWE-476
- CVE-2026-43603 A NULL pointer dereference in the Linux GPU driver could potentially lead to a kernel… CWE-476