Cloudanix VulnDB

CVE-2017-11638

High · 8.8

CVSS

8.8

EPSS

1.7%

Published

Jul 26, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in widely used image software can make programs crash when they try to handle certain pictures, which may let attackers interrupt services.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Triggers a segmentation violation in WriteMAPImage() within coders/map.c when a non-colormapped image is processed, resulting in application crash or potential memory corruption.

Why it matters to the business

Interrupts image processing services and workflows that depend on the library, increasing risk of operational downtime and potential data handling failures in graphics-dependent applications.

How an attack unfolds

An attacker supplies a crafted non-colormapped image to an application using the vulnerable library; during the write operation the invalid input reaches WriteMAPImage, causing the fault that may be leveraged for denial of service or further memory abuse.

How to fix it

Upgrade GraphicsMagick to a version that resolves the input validation flaw in map.c; rebuild any dependent packages against the patched library.

How to confirm the fix worked

Reproduce the issue with known non-colormapped test images before and after the upgrade; confirm absence of segmentation faults and review commit history for coders/map.c changes.

Typical attack path

  1. Craft and deliver a non-colormapped image file to the target application
  2. Trigger image write path that invokes WriteMAPImage
  3. Induce segmentation violation to crash the process or attempt memory exploitation

How to detect it

Inspect application and system logs for segmentation faults or crashes originating from image write operations; correlate with inbound image uploads or processing jobs around the time of failure.

What your security team should do

  • Prioritize upgrade of GraphicsMagick across all affected deployments
  • Add file-type and structure validation for images before processing
  • Enable sandboxing or resource limits around image conversion utilities

The record

GraphicsMagick 1.3.26 has a segmentation violation in the WriteMAPImage() function in coders/map.c when processing a non-colormapped image, a different vulnerability than CVE-2017-11642.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 graphicsmagick 0 1.3.26-4
Debian:12 graphicsmagick 0 1.3.26-4
Debian:13 graphicsmagick 0 1.3.26-4
Debian:7 graphicsmagick 0 1.3.16-1.1+deb7u8
Debian:8 graphicsmagick 0 1.3.20-3+deb8u4
Debian:9 graphicsmagick 0 1.3.30+hg15796-1~deb9u1
SUSE:Linux Enterprise Desktop 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Desktop 12 SP3 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Server 11 SP4 ImageMagick 0 6.4.3.6-7.78.34.1
SUSE:Linux Enterprise Server 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Server 12 SP3 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 ImageMagick 0 6.4.3.6-7.78.34.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 GraphicsMagick 0 1.2.5-4.78.38.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 ImageMagick 0 6.4.3.6-7.78.34.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Workstation Extension 12 SP2 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 ImageMagick 0 6.8.8.1-71.42.1
SUSE:Studio Onsite 1.3 GraphicsMagick 0 1.2.5-4.78.38.1
Ubuntu:16.04:LTS graphicsmagick 0 1.3.23-1ubuntu0.3
Ubuntu:Pro:14.04:LTS graphicsmagick 0 1.3.18-1ubuntu3.1+esm3

Related vulnerabilities