Skip to content
OpenAdvisories
Unscored Public exploit CVE-2006-4144 EUVD-2006-4134GHSA-468h-chpc-m7c8

Integer overflow in the ReadSGIImage function in sgi.c in ImageMagick before 6.2.9 allows user-assisted attackers to cause a denial of serv…

Published Aug 15, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

Integer overflow in the ReadSGIImage function in sgi.c in ImageMagick before 6.2.9 allows user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via large (1) bytes_per_pixel, (2) columns, and (3) rows values, which trigger a heap-based buffer overflow.

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 graphicsmagick 1.1.7-7 —
Debian 14 imagemagick 7:6.2.4.5.dfsg1-0.10 —
Debian 13 graphicsmagick 1.1.7-7 —
Debian 13 imagemagick 7:6.2.4.5.dfsg1-0.10 —
Debian 12 graphicsmagick 1.1.7-7 —
Debian 12 imagemagick 7:6.2.4.5.dfsg1-0.10 —
Debian 3.1 imagemagick 6:6.0.6.2-2.8 DSA-1213-1
ReleasePackageFixed inAdvisory
RHEL 4 ImageMagick +4 6.0.7.1-16 RHSA-2006:0633
RHEL 3 ImageMagick +4 5.5.6-20 RHSA-2006:0633

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References