CVEfocus › CVE database › CVE-2017-16547

CVE-2017-16547

CVSS 8.8 HighEPSS 2.3% (higher than 84% of CVEs)Published 2017-11-06Updated 2024-08-05Assigner: mitre

The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04graphicsmagickFixed1.3.23-1ubuntu0.5UBUNTU-CVE-2017-16547
Ubuntu 14.04graphicsmagickFix pending1.3.18-1ubuntu3.1+esm5 (Ubuntu Pro)UBUNTU-CVE-2017-16547
Debian 14graphicsmagickFixed1.3.26-18DEBIAN-CVE-2017-16547
Debian 13graphicsmagickFixed1.3.26-18DEBIAN-CVE-2017-16547
Debian 12graphicsmagickFixed1.3.26-18DEBIAN-CVE-2017-16547
Alpine Linux 3.24graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.23graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.22graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.21graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.20graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.19graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.18graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.17graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.16graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.15graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.14graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.13graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.12graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.11graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547
Alpine Linux 3.10graphicsmagickFixed1.3.27-r0ALPINE-CVE-2017-16547

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.