Cloudanix VulnDB

CVE-2017-14626

Critical · 9.8

CVSS

9.8

EPSS

2.6%

Published

Sep 21, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in image handling software can let attackers crash programs or seize control by feeding in specially made image files.

Exploitation
Remote Unauthenticated
Attacker needs
None
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 the sixel_decode function within coders/sixel.c allows specially crafted sixel image data to trigger memory corruption, potentially resulting in application crashes or arbitrary code execution.

Why it matters to the business

Systems relying on ImageMagick for image handling face risks of service disruption or full compromise, with the issue affecting downstream packages such as external-secrets-operator; although known since 2017 with stable low exploit probability, unpatched instances remain exposed.

How an attack unfolds

An attacker crafts a malicious sixel-encoded image and supplies it to an application performing image decoding with the vulnerable library, causing the NULL dereference during processing to crash the process or enable code execution.

How to fix it

Upgrade external-secrets-operator (Chainguard) to 0.9.10-r1 or later and external-secrets-operator (Wolfi) to 0.9.10-r1 or later; ensure any bundled ImageMagick installation is newer than 7.0.7-0.

How to confirm the fix worked

Confirm the installed ImageMagick version exceeds 7.0.7-0, reprocess known sixel test images without crashes, and verify package manifests show the listed fixed versions.

Typical attack path

  1. Craft a malformed sixel image file that triggers the NULL dereference
  2. Deliver the image via network input, file upload, or processing pipeline to the target application
  3. Invoke image decoding through the sixel.c code path
  4. Trigger memory corruption to achieve denial of service or remote code execution

How to detect it

Review application and system logs for ImageMagick process crashes or segmentation faults during image decoding, especially involving sixel files; inspect file upload or processing logs for unexpected image formats.

What your security team should do

  • Immediately update all affected packages to the specified fixed versions
  • Inventory ImageMagick usage across image-processing workloads
  • Disable sixel format support if not required
  • Monitor for new ImageMagick releases and apply updates promptly

The record

ImageMagick 7.0.7-0 Q16 has a NULL Pointer Dereference vulnerability in the function sixel_decode in coders/sixel.c.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 imagemagick 0 8:6.9.9.34+dfsg-3
Debian:11 imagemagick 0 8:6.9.9.34+dfsg-3
Debian:12 imagemagick 0 8:6.9.9.34+dfsg-3
Debian:13 imagemagick 0 8:6.9.9.34+dfsg-3
Debian:8 imagemagick 0 8:6.8.9.9-5+deb8u16
Debian:9 imagemagick 0 8:6.9.7.4+dfsg-11+deb9u10
Ubuntu:14.04:LTS imagemagick 0 8:6.7.7.10-6ubuntu3.11
Ubuntu:16.04:LTS imagemagick 0 8:6.8.9.9-7ubuntu5.11
Ubuntu:18.04:LTS imagemagick 0 8:6.9.7.4+dfsg-16ubuntu6.2

Related vulnerabilities