CVE-2006-4144
Integer overflow in the ReadSGIImage function in sgi.c in ImageMagick before 6.2.9 allows user-assisted attackers to cause a denial of…
Check your servers for CVE-2006-4144
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-4144 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 11.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.6% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-4144 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-4144RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-4144Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-4144
trivy image --scanners vuln IMAGE | grep CVE-2006-4144
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
24 of 25 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 21679 secunia.com · third party advisory
- 21671 secunia.com · third party advisory
- 21832 secunia.com · third party advisory
- SUSE-SA:2006:050 novell.com · vendor advisory
- https://issues.rpath.com/browse/RPL-605 issues.rpath.com
- MDKSA-2006:155 mandriva.com · vendor advisory
- GLSA-200609-14 security.gentoo.org · vendor advisory
- 22096 secunia.com · third party advisory
- 21621 secunia.com · third party advisory
- USN-337-1 ubuntu.com · vendor advisory
- RHSA-2006:0633 redhat.com · vendor advisory
- 21462 secunia.com · third party advisory
5 more
Other references
- imagemagick-readsgiimage-bo(28372) exchange.xforce.ibmcloud.com · vdb entry
- 19507 securityfocus.com · vdb entry
- http://www.overflow.pl/adv/imsgiheap.txt overflow.pl
- oval:org.mitre.oval:def:11129 oval.cisecurity.org · vdb entry, signature
- 20060816 Re: [Overflow.pl] ImageMagick ReadSGIImage() Heap Overflow securityfocus.com · mailing list
- 1016699 securitytracker.com · vdb entry
- 20060814 [Overflow.pl] ImageMagick ReadSGIImage() Heap Overflow securityfocus.com · mailing list
Source: the record CVE-2006-4144 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse