---
title: "CVE-2008-1097\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2008-1097?format=md
keywords: index, follow
---

# CVE-2008-1097

Publication date 5 March 2008

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in
coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick
(aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of
service (crash) or possibly execute arbitrary code via a crafted .pcx file
that triggers incorrect memory allocation for the scanline array, leading
to memory corruption.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2008-1097?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| graphicsmagick | 8.04 LTS hardy | Not affected |
| 7.10 gutsy | Not affected |
| 7.04 feisty | Not affected |
| 6.10 edgy | Ignored end of life, was needed |
| 6.06 LTS dapper | Not in release |
| imagemagick | 8.04 LTS hardy | Not affected |
| 7.10 gutsy | Not affected |
| 7.04 feisty | Ignored end of life, was needed |
| 6.10 edgy | Not affected |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2008-1097?format=md#patch-details)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

tried the reproducer in the bug reports, and imagemagick not
affected. Debian report says amd64 should be affected (but can't reproduce)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| imagemagick | * Vendor:   <https://rhn.redhat.com/errata/RHSA-2008-0145.html> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1097)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2008-1097)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2008-1097)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2008-1097)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2008-1097>
