portage-ng / portage / media-gfx / imagemagick / 7.1.2.32
portage-ng glsa
21 advisories reference media-gfx/imagemagick · none place version 7.1.2.32 in a vulnerable range
▸ GLSA 202405-02 ImageMagick: Multiple Vulnerabilities this version unaffected high remote 2024-05-04

Multiple vulnerabilities have been discovered in ImageMagick, the worst of which can lead to remote code execution.

Announced
2024-05-04
Revised
2024-05-04
Access
remote
Bugs
#835931 #843833 #852947 #871954 #893526 #904357 #908082 #917594
Advisory
https://security.gentoo.org/glsa/202405-02

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.12.88, < 7.1.1.11>= 6.9.13.0, >= 7.1.1.22

Background

ImageMagick is a software suite to create, edit, and compose bitmap images, that can also read, write, and convert images in many other formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick 6.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.13.0" =media-gfx/imagemagick-6*"

All ImageMagick 7.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-7.1.1.22"

References

▸ GLSA 202101-36 ImageMagick: Command injection this version unaffected normal remote 2021-01-29

A vulnerability in ImageMagick's handling of PDF was discovered possibly allowing code execution.

Announced
2021-01-29
Revised
2021-01-29
Access
remote
Bugs
#756829
Advisory
https://security.gentoo.org/glsa/202101-36

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 7.0.10.41-r1, < 6.9.11.41-r1>= 7.0.10.41-r1, >= 6.9.11.41-r1

Background

A collection of tools and libraries for many image formats.

Description

A flaw in ImageMagick’s handling of password protected PDFs was discovered.

Impact

A remote attacker could entice a user to open a specially crafted PDF using ImageMagick possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

Do not open untrusted PDFs.

Resolution

All ImageMagick 7 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=media-gfx/imagemagick-7.0.10.41-r1"

All ImageMagick 6 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=media-gfx/imagemagick-6.9.11.41-r1"

References

▸ GLSA 201810-04 ImageMagick: Security hardening this version unaffected normal local, remote 2018-10-06

Due to multiple vulnerabilities in various coders used by ImageMagick, Gentoo Linux now installs a policy.xml file which will restrict coder usage by default.

Announced
2018-10-06
Revised
2018-10-06
Access
local, remote
Bugs
#664236
Advisory
https://security.gentoo.org/glsa/201810-04

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.10.10-r1, < 7.0.8.10-r1>= 6.9.10.10-r1, >= 7.0.8.10-r1

Background

ImageMagick is a collection of tools and libraries for many image formats.

Description

If you process an image with ImageMagick and don’t validate the file before (e.g. check magic byte), ImageMagick will call any coders found in the given file. So if ImageMagick will find Ghostscript for example, it will call Ghostscript.

Due to multiple -dSAFER sandbox bypass vulnerabilities in Ghostscript, this can lead to arbitrary code execution.

To mitigate this problem we install a policy.xml file by default which will disable PS, EPS, PDF, and XPS coders.

Impact

A remote attacker, by enticing a user to process a specially crafted image file, could execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick 6 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=media-gfx/imagemagick-6.9.10.10-r1"

All ImageMagick 7 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=media-gfx/imagemagick-7.0.8.10-r1"

References

▸ GLSA 201711-07 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2017-11-11

Multiple vulnerabilities have been found in ImageMagick, the worst of which may allow remote attackers to cause a Denial of Service condition.

Announced
2017-11-11
Revised
2017-11-11
Access
remote
Bugs
#626454 #626906 #627036 #628192 #628490 #628646 #628650 #628700 #628702 #629354 #629482 #629576 #629932 #630256 #630458 #630674 #635200 #635664 #635666
Advisory
https://security.gentoo.org/glsa/201711-07

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.9.20>= 6.9.9.20

Background

A collection of tools and libraries for many image formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick. Please review the referenced CVE identifiers for details.

Impact

Remote attackers, by enticing a user to process a specially crafted file, could obtain sensitive information, cause a Denial of Service condition, or have other unspecified impacts.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.9.20"

References

▸ GLSA 201702-09 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2017-02-17

Multiple vulnerabilities have been found in ImageMagick, the worst of which allows remote attackers to execute arbitrary code.

Announced
2017-02-17
Revised
2017-02-17 (revision 2)
Access
remote
Bugs
#599744 #606654
Advisory
https://security.gentoo.org/glsa/201702-09

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.7.4>= 6.9.7.4

Background

ImageMagick is a collection of tools and libraries for many image formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker, by enticing a user to process a specially crafted image file, could execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.7.4"

References

▸ GLSA 201611-21 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2016-11-30

Multiple vulnerabilities have been found in ImageMagick, the worst of which allows remote attackers to execute arbitrary code.

Announced
2016-11-30
Revised
2016-11-30
Access
remote
Bugs
#581990 #593526 #593530 #593532 #595200 #596002 #596004
Advisory
https://security.gentoo.org/glsa/201611-21

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.6.2>= 6.9.6.2

Background

ImageMagick is a collection of tools and libraries for many image formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.6.2"

References

▸ GLSA 201606-14 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2016-06-26

Multiple vulnerabilities have been found in ImageMagick including overflows and possible Denials of Service.

Announced
2016-06-26
Revised
2016-06-26
Access
remote
Bugs
#534106 #562892
Advisory
https://security.gentoo.org/glsa/201606-14

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.9.0.3>= 6.9.0.3

Background

Imagemagick is a collection of tools and libraries for many image formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick including, but not limited to, various overflows and potential Denials of Service. Please visit the references and related bug reports for additional information.

Impact

Remote attackers could potentially perform buffer overflows or conduct Denials of Service.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.0.3"

References

▸ GLSA 201405-09 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2014-05-17

Multiple vulnerabilities have been discovered in ImageMagick, the worst of which could lead to arbitrary code execution.

Announced
2014-05-17
Revised
2014-05-17
Access
remote
Bugs
#409431 #483032 #500988 #506562
Advisory
https://security.gentoo.org/glsa/201405-09

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.8.8.10>= 6.8.8.10

Background

ImageMagick is a collection of tools and libraries for manipulating various image formats.

Description

Multiple vulnerabilities have been discovered in ImageMagick. Please review the CVE identifiers referenced below for details.

Note that CVE-2012-1185 and CVE-2012-1186 were issued due to incomplete fixes for CVE-2012-0247 and CVE-2012-0248, respectively. The earlier CVEs were addressed in GLSA 201203-09.

Impact

A remote attacker can utilize multiple vectors to execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.8.8.10"

References

▸ GLSA 201203-09 ImageMagick: User-assisted execution of arbitrary code this version unaffected normal remote 2012-03-06

Vulnerabilities found in ImageMagick might allow remote attackers to execute arbitrary code.

Announced
2012-03-06
Revised
2012-03-06
Access
remote
Bugs
#402999
Advisory
https://security.gentoo.org/glsa/201203-09

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.7.5.3>= 6.7.5.3

Background

ImageMagick is a collection of tools and libraries for manipulating various image formats.

Description

Two vulnerabilities have been found in ImageMagick:

  • Incorrect offset and count values in the ResolutionUnit tag in EXIF IFD could cause memory corruption (CVE-2012-0247).
  • IOP tag offsets pointing to the beginning of an IFD could cause an infinite loop of ImageMagick parsing the IFD structure (CVE-2012-0248).

Impact

A remote attacker could entice a user to open a specially crafted image, possibly resulting in execution of arbitrary code or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.7.5.3"

References

▸ GLSA 201006-03 ImageMagick: User-assisted execution of arbitrary code this version unaffected normal remote 2010-06-01

An integer overflow in ImageMagick might allow remote attackers to cause the remote execution of arbitrary code.

Announced
2010-06-01
Revised
2010-06-01
Access
remote
Bugs
#271502
Advisory
https://security.gentoo.org/glsa/201006-03

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.5.2.9>= 6.5.2.9

Background

ImageMagick is a collection of tools and libraries for manipulating various image formats.

Description

Tielei Wang has discovered that the XMakeImage() function in magick/xwindow.c is prone to an integer overflow, possibly leading to a buffer overflow.

Impact

A remote attacker could entice a user to open a specially crafted image, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to an unaffected version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.5.2.9"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since June 4, 2009. It is likely that your system is already no longer affected by this issue.

References

▸ GLSA 200710-27 ImageMagick: Multiple vulnerabilities this version unaffected normal remote 2007-10-24

Multiple vulnerabilities have been discovered in ImageMagick, possibly resulting in arbitrary code execution or a Denial of Service.

Announced
2007-10-24
Revised
2007-10-24
Access
remote
Bugs
#186030
Advisory
https://security.gentoo.org/glsa/200710-27

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.3.5.10>= 6.3.5.10

Background

ImageMagick is a collection of tools and libraries for manipulating various image formats.

Description

regenrecht reported multiple infinite loops in functions ReadDCMImage() and ReadXCFImage() (CVE-2007-4985), multiple integer overflows when handling certain types of images (CVE-2007-4986, CVE-2007-4988), and an off-by-one error in the ReadBlobString() function (CVE-2007-4987).

Impact

A remote attacker could entice a user to open a specially crafted image, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or an excessive CPU consumption. Note that applications relying on ImageMagick to process images can also trigger the vulnerability.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.3.5.10"

References

▸ GLSA 200705-13 ImageMagick: Multiple buffer overflows this version unaffected normal remote 2007-05-10

Multiple integer overflows have been discovered in ImageMagick allowing for the execution of arbitrary code.

Announced
2007-05-10
Revised
2007-06-07 (revision 2)
Access
remote
Bugs
#152672 #159567 #173186
Advisory
https://security.gentoo.org/glsa/200705-13

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.3.3>= 6.3.3

Background

ImageMagick is a collection of tools allowing various manipulations on image files.

Description

iDefense Labs has discovered multiple integer overflows in ImageMagick in the functions ReadDCMImage() and ReadXWDImage(), that are used to process DCM and XWD files.

Impact

An attacker could entice a user to open specially crafted XWD or DCM file, resulting in heap-based buffer overflows and possibly the execution of arbitrary code with the privileges of the user running ImageMagick. Note that this user may be httpd or any other account used by applications relying on the ImageMagick tools to automatically process images.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.3.3"

References

▸ GLSA 200611-19 ImageMagick: PALM and DCM buffer overflows this version unaffected normal remote 2006-11-24

ImageMagick improperly handles PALM and DCM images, potentially resulting in the execution of arbitrary code.

Announced
2006-11-24
Revised
2006-11-24
Access
remote
Bugs
#152672
Advisory
https://security.gentoo.org/glsa/200611-19

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.3.0.5>= 6.3.0.5

Background

ImageMagick is a software suite to create, edit, and compose bitmap images, that can also read, write, and convert images in many other formats.

Description

M. Joonas Pihlaja has reported that a boundary error exists within the ReadDCMImage() function of coders/dcm.c, causing the improper handling of DCM images. Pihlaja also reported that there are several boundary errors in the ReadPALMImage() function of coders/palm.c, similarly causing the improper handling of PALM images.

Impact

An attacker could entice a user to open a specially crafted DCM or PALM image with ImageMagick, and possibly execute arbitrary code with the privileges of the user running ImageMagick.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.3.0.5"

References

▸ GLSA 200609-14 ImageMagick: Multiple Vulnerabilities this version unaffected normal remote 2006-09-26

Multiple buffer overflows have been discovered in ImageMagick, which could potentially result in the execution of arbitrary code.

Announced
2006-09-26
Revised
2006-09-26
Access
remote
Bugs
#144091 #143533
Advisory
https://security.gentoo.org/glsa/200609-14

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.2.9.5>= 6.2.9.5

Background

ImageMagick is a free software suite to manipulate, convert, and create many image formats.

Description

Tavis Ormandy of the Google Security Team discovered a stack and heap buffer overflow in the GIMP XCF Image decoder and multiple heap and integer overflows in the SUN bitmap decoder. Damian Put discovered a heap overflow in the SGI image decoder.

Impact

An attacker may be able to create a specially crafted image that, when processed with ImageMagick, executes arbitrary code with the privileges of the executing user.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.9.5"

References

▸ GLSA 200602-06 ImageMagick: Format string vulnerability this version unaffected normal remote 2006-02-13

A vulnerability in ImageMagick allows attackers to crash the application and potentially execute arbitrary code.

Announced
2006-02-13
Revised
2006-02-13
Access
remote
Bugs
#83542
Advisory
https://security.gentoo.org/glsa/200602-06

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.2.5.5>= 6.2.5.5

Background

ImageMagick is an application suite to manipulate and convert images. It is often used as a utility backend by web applications like forums, content management systems or picture galleries.

Description

The SetImageInfo function was found vulnerable to a format string mishandling. Daniel Kobras discovered that the handling of "%"-escaped sequences in filenames passed to the function is inadequate. This is a new vulnerability that is not addressed by GLSA 200503-11.

Impact

By feeding specially crafted file names to ImageMagick, an attacker can crash the program and possibly execute arbitrary code with the privileges of the user running ImageMagick.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.5.5"

References

▸ GLSA 200511-02 QDBM, ImageMagick, GDAL: RUNPATH issues this version unaffected low local 2005-11-02

Multiple packages suffer from RUNPATH issues that may allow users in the "portage" group to escalate privileges.

Announced
2005-11-02
Revised
2006-05-22 (revision 2)
Access
local
Bugs
#105717 #105760 #108534
Advisory
https://security.gentoo.org/glsa/200511-02

Affected packages

PackageArchVulnerableUnaffected
dev-db/qdbm*< 1.8.33-r2>= 1.8.33-r2
media-gfx/imagemagick*< 6.2.4.2-r1>= 6.2.4.2-r1
sci-libs/gdal*< 1.3.0-r1>= 1.3.0-r1, >= 1.2.6-r4 (revision)

Background

QDBM is a library of routines for managing a database. ImageMagick is a collection of tools to read, write and manipulate images. GDAL is a geospatial data abstraction library.

Description

Some packages may introduce insecure paths into the list of directories that are searched for libraries at runtime. Furthermore, packages depending on the MakeMaker Perl module for build configuration may have incorrectly copied the LD_RUN_PATH into the DT_RPATH.

Impact

A local attacker, who is a member of the "portage" group, could create a malicious shared object in the Portage temporary build directory that would be loaded at runtime by a dependent executable, potentially resulting in privilege escalation.

Workaround

Only grant "portage" group rights to trusted users.

Resolution

All QDBM users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/qdbm-1.8.33-r2"

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.4.2-r1"

All GDAL users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose sci-libs/gdal

References

▸ GLSA 200505-16 ImageMagick, GraphicsMagick: Denial of Service vulnerability this version unaffected normal remote 2005-05-21

ImageMagick and GraphicsMagick utilities can be abused to perform a Denial of Service attack.

Announced
2005-05-21
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#90423 #90595
Advisory
https://security.gentoo.org/glsa/200505-16

Affected packages

PackageArchVulnerableUnaffected
media-gfx/graphicsmagick*< 1.1.6-r1>= 1.1.6-r1
media-gfx/imagemagick*< 6.2.2.3>= 6.2.2.3

Background

Both ImageMagick and GraphicsMagick are collection of tools to read, write and manipulate images in many formats.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a Denial of Service vulnerability in the XWD decoder of ImageMagick and GraphicsMagick when setting a color mask to zero.

Impact

A remote attacker could submit a specially crafted image to a user or an automated system making use of an affected utility, resulting in a Denial of Service by consumption of CPU time.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.2.3"

All GraphicsMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/graphicsmagick-1.1.6-r1"

References

▸ GLSA 200503-11 ImageMagick: Filename handling vulnerability this version unaffected normal remote 2005-03-06

A format string vulnerability exists in ImageMagick that may allow an attacker to execute arbitrary code.

Announced
2005-03-06
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#83542
Advisory
https://security.gentoo.org/glsa/200503-11

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.2.0.4>= 6.2.0.4

Background

ImageMagick is a collection of tools and libraries for manipulating a wide variety of image formats.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team has identified a flaw in the handling of filenames by the ImageMagick utilities.

Impact

Successful exploitation may disrupt web applications that depend on ImageMagick for image processing, potentially executing arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.2.0.4"

References

▸ GLSA 200501-26 ImageMagick: PSD decoding heap overflow this version unaffected normal remote 2005-01-20

ImageMagick is vulnerable to a heap overflow when decoding Photoshop Document (PSD) files, which could lead to arbitrary code execution.

Announced
2005-01-20
Revised
2005-01-20
Access
remote
Bugs
#77932
Advisory
https://security.gentoo.org/glsa/200501-26

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.1.8.8>= 6.1.8.8

Background

ImageMagick is a collection of tools to read, write and manipulate images in many formats.

Description

Andrei Nigmatulin discovered that a Photoshop Document (PSD) file with more than 24 layers could trigger a heap overflow.

Impact

An attacker could potentially design a mailicous PSD image file to cause arbitrary code execution with the permissions of the user running ImageMagick.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.1.8.8"

References

▸ GLSA 200411-11 ImageMagick: EXIF buffer overflow this version unaffected normal remote 2004-11-06

ImageMagick contains an error in boundary checks when handling EXIF information, which could lead to arbitrary code execution.

Announced
2004-11-06
Revised
2004-11-06
Access
remote
Bugs
#69825
Advisory
https://security.gentoo.org/glsa/200411-11

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.1.3.2>= 6.1.3.2

Background

ImageMagick is a collection of tools to read, write and manipulate images in many formats.

Description

ImageMagick fails to do proper bounds checking when handling image files with EXIF information.

Impact

An attacker could use an image file with specially-crafted EXIF information to cause arbitrary code execution with the permissions of the user running ImageMagick.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.1.3.2"

References

▸ GLSA 200409-12 ImageMagick, imlib, imlib2: BMP decoding buffer overflows this version unaffected normal remote 2004-09-08

ImageMagick, imlib and imlib2 contain exploitable buffer overflow vulnerabilities in the BMP image processing code.

Announced
2004-09-08
Revised
2004-09-08
Access
remote
Bugs
#62309 #62487
Advisory
https://security.gentoo.org/glsa/200409-12

Affected packages

PackageArchVulnerableUnaffected
media-gfx/imagemagick*< 6.0.7.1>= 6.0.7.1
media-libs/imlib*< 1.9.14-r2>= 1.9.14-r2
media-libs/imlib2*< 1.1.2>= 1.1.2

Background

ImageMagick is a suite of image manipulation utilities and libraries used for a wide variety of image formats. imlib is a general image loading and rendering library.

Description

Due to improper bounds checking, ImageMagick and imlib are vulnerable to a buffer overflow when decoding runlength-encoded bitmaps. This bug can be exploited using a specially-crafted BMP image and could potentially allow remote code execution when this image is decoded by the user.

Impact

A specially-crafted runlength-encoded BMP could lead ImageMagick and imlib to crash or potentially execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-gfx/imagemagick-6.0.7.1"
# emerge ">=media-gfx/imagemagick-6.0.7.1"

All imlib users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-libs/imlib-1.9.14-r2"
# emerge ">=media-libs/imlib-1.9.14-r2"

All imlib2 users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=media-libs/imlib2-1.1.2"
# emerge ">=media-libs/imlib2-1.1.2"

References