Skip to content
OpenAdvisories
Unscored CVE-2006-2440 EUVD-2006-2441GHSA-g4fx-7rrq-8736

Heap-based buffer overflow in the libMagick component of ImageMagick 6.0.6.2 might allow attackers to execute arbitrary code via an image i…

Published May 18, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

Heap-based buffer overflow in the libMagick component of ImageMagick 6.0.6.2 might allow attackers to execute arbitrary code via an image index array that triggers the overflow during filename glob expansion by the ExpandFilenames function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 6:6.2.4.5-0.6 —
Debian 13 imagemagick 6:6.2.4.5-0.6 —
Debian 12 imagemagick 6:6.2.4.5-0.6 —
Debian 3.1 imagemagick 6:6.0.6.2-2.7 DSA-1168-1
ReleasePackageFixed inAdvisory
RHEL 4 ImageMagick +4 6.0.7.1-16.0.3 RHSA-2007:0015
RHEL 3 ImageMagick +4 5.5.6-24 RHSA-2007:0015
RHEL 2 ImageMagick +4 5.3.8-18 RHSA-2007:0015

Advisories 2

References