Skip to content
Noroxi
CVE-2016-5118· NVD / CVE Program· CNA mitre

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (p

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at the start of a filename.

CriticalCVSS 9.8 · v3.1—No exploit Fix available
Published
Jun 10, 2016
Updated
Jun 16, 2026
EPSS
50.0% · 99th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

54

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
15 / 30 · 50.0%

Affected systems

VendorProduct
graphicsmagickgraphicsmagick
suselinux enterprise debuginfo
susestudio onsite
suselinux enterprise software development kit
oraclesolaris
oraclelinux
opensuseleap
opensuseopensuse
canonicalubuntu linux
debiandebian linux
suselinux enterprise desktop
suselinux enterprise server

and 2 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.10
  • canonical ubuntu linux16.04
  • debian debian linux8.0
  • graphicsmagick graphicsmagickup to 1.3.23 inclusive
  • imagemagick imagemagickbefore 7.0.1-7
  • opensuse leap42.1
  • opensuse opensuse13.2
  • oracle linux6
  • oracle linux7
  • oracle solaris10
  • oracle solaris11.3
  • suse linux enterprise debuginfo11
  • suse linux enterprise desktop12
  • suse linux enterprise desktop12.0
  • suse linux enterprise server12
  • suse linux enterprise server12.0
  • suse linux enterprise software development kit11
  • suse linux enterprise software development kit12

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.2imagemagickbefore 6.9.6.8-r06.9.6.8-r0
Debian:12graphicsmagickbefore 1.3.24-11.3.24-1
Debian:12imagemagickbefore 8:6.8.9.9-7.18:6.8.9.9-7.1
Debian:7graphicsmagickbefore 1.3.16-1.1+deb7u21.3.16-1.1+deb7u2
Debian:7imagemagickbefore 8:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u6
Debian:8graphicsmagickbefore 1.3.20-3+deb8u21.3.20-3+deb8u2
Debian:8imagemagickbefore 8:6.8.9.9-5+deb8u38:6.8.9.9-5+deb8u3
openSUSE:TumbleweedGraphicsMagickbefore 1.3.25-1.11.3.25-1.1
openSUSE:TumbleweedImageMagickbefore 6.9.6.6-1.16.9.6.6-1.1
Red Hat:enterprise_linux:6::clientImageMagickbefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-c++before 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-c++-develbefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-debuginfobefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-develbefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-docbefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:6::clientImageMagick-perlbefore 0:6.7.2.7-5.el6_80:6.7.2.7-5.el6_8
Red Hat:enterprise_linux:7::clientImageMagickbefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-c++before 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-c++-develbefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-debuginfobefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-develbefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-docbefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
Red Hat:enterprise_linux:7::clientImageMagick-perlbefore 0:6.7.8.9-15.el7_20:6.7.8.9-15.el7_2
SUSE:Linux Enterprise Desktop 12ImageMagickbefore 6.8.8.1-25.16.8.8.1-25.1

+2

Other highest-scoring records for the same primary product.

  • CVE-2017-14103The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 do not properly manage image pointers after certain
    44Plan
  • CVE-2017-12936The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for data associated with exception reporting.
    43Plan
  • CVE-2017-11403The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a c
    43Plan
  • CVE-2008-6071Heap-based buffer overflow in the DecodeImage function in coders/pict.c in GraphicsMagick before 1.1.14, and 1.2.x before 1.2.3, allows remo
    42Plan
  • CVE-2020-10938GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
    41Plan
  • CVE-2019-19951In GraphicsMagick 1.4 snapshot-20190423 Q8, there is a heap-based buffer overflow in the function ImportRLEPixels of coders/miff.c.
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:imagemagick6.9.6.8-r0 · Alpine:v3.2Package registry (OSV)
debian:graphicsmagick1.3.24-1 · Debian:12Package registry (OSV)
debian:imagemagick8:6.8.9.9-7.1 · Debian:12Package registry (OSV)
opensuse:GraphicsMagick1.3.25-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ImageMagick6.9.6.6-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:ImageMagick0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-c++0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-c++-devel0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-debuginfo0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-devel0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-doc0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:ImageMagick-perl0:6.7.2.7-5.el6_8 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:GraphicsMagick1.2.5-4.38.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:ImageMagick6.8.8.1-25.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records