CVE-2017-13134

Published: 22 August 2017

In ImageMagick 7.0.6-6 and GraphicsMagick 1.3.26, a heap-based buffer over-read was found in the function SFWScan in coders/sfw.c, which allows attackers to cause a denial of service via a crafted file.

From the Ubuntu security team

It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.

Priority

Medium

CVSS 3 base score: 6.5

Status

Package Release Status
graphicsmagick
Launchpad, Ubuntu, Debian
Upstream
Released (1.3.26-19)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(1.3.26-19)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(1.3.26-19)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(1.3.26-19)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(1.3.26-19)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (1.3.23-1ubuntu0.3)
Ubuntu 14.04 ESM (Trusty Tahr) Needed

Patches:
Upstream: http://hg.code.sf.net/p/graphicsmagick/code/rev/1b47e0078e05
imagemagick
Launchpad, Ubuntu, Debian
Upstream
Released (8:6.9.9.34+dfsg-3)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(8:6.9.7.4+dfsg-16ubuntu8)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(8:6.9.7.4+dfsg-16ubuntu8)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(8:6.9.7.4+dfsg-16ubuntu8)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (8:6.9.7.4+dfsg-16ubuntu6.2)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (8:6.8.9.9-7ubuntu5.11)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/ImageMagick/ImageMagick/commit/1b234b4fe2ec864b2d5af898a31c06c9736da904

Notes

AuthorNote
mdeslaur
0292-CVE-2017-13134-Fix-heap-based-buffer-overflow-in-SFWScan.patch in wheezy
0249-CVE-2017-13134.patch in jessie
0100-CVE-2017-13134.patch in stretch

References

Bugs