J-Security Center

Title: CamlImages Image Parsing Multiple Heap Overflow Vulnerabilities

Severity: CRITICAL

Description:

CamlImages is an open-source library for processing images.

CamlImages is prone to multiple heap-overflow vulnerabilities because it fails to properly validate user-supplied data when parsing GIF and JPEG images. Specifically, these issues arise in the 'gifread.c' and 'jpegread.c' source files, which contain functions that fail to properly validate the width and height of an image.

An attacker may exploit these issues by enticing victims into processing specially crafted images.

Successful exploits may allow the attacker to execute arbitrary code in the context of applications that use the affected library. Failed exploit attempts will likely result in denial-of-service conditions.

CamlImages 2.2 is vulnerable; other versions may also be affected.

Affected Products:

  • CamlImages CamlImages 2.2
  • Debian Linux 4.0
  • Debian Linux 4.0 alpha
  • Debian Linux 4.0 amd64
  • Debian Linux 4.0 arm
  • Debian Linux 4.0 armel
  • Debian Linux 4.0 hppa
  • Debian Linux 4.0 ia-32
  • Debian Linux 4.0 ia-64
  • Debian Linux 4.0 m68k
  • Debian Linux 4.0 mips
  • Debian Linux 4.0 mipsel
  • Debian Linux 4.0 powerpc
  • Debian Linux 4.0 s/390
  • Debian Linux 4.0 sparc
  • Debian Linux 5.0
  • Debian Linux 5.0 alpha
  • Debian Linux 5.0 amd64
  • Debian Linux 5.0 arm
  • Debian Linux 5.0 armel
  • Debian Linux 5.0 hppa
  • Debian Linux 5.0 ia-32
  • Debian Linux 5.0 ia-64
  • Debian Linux 5.0 m68k
  • Debian Linux 5.0 mips
  • Debian Linux 5.0 mipsel
  • Debian Linux 5.0 powerpc
  • Debian Linux 5.0 s/390
  • Debian Linux 5.0 sparc
  • MandrakeSoft Enterprise Server 5
  • MandrakeSoft Enterprise Server 5 x86_64

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.