Gentoo Logo

LittleCMS: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200904-19 / littlecms
Release Date April 19, 2009
Latest Revision April 19, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/lcms < 1.18-r1 >= 1.18-r1 All supported architectures

Related bugreports: #260269, #264604


Multiple errors in LittleCMS allow for attacks including the remote execution of arbitrary code.

2.  Impact Information


LittleCMS, or short lcms, is a color management system for working with ICC profiles. It is used by many applications including GIMP and Firefox.


RedHat reported a null-pointer dereference flaw while processing monochrome ICC profiles (CVE-2009-0793).

Chris Evans of Google discovered the following vulnerabilities:

  • LittleCMS contains severe memory leaks (CVE-2009-0581).
  • LittleCMS is prone to multiple integer overflows, leading to a heap-based buffer overflow (CVE-2009-0723).
  • The ReadSetOfCurves() function is vulnerable to stack-based buffer overflows when called from code paths without a bounds check on channel counts (CVE-2009-0733).


A remote attacker could entice a user or automated system to open a specially crafted file containing a malicious ICC profile, possibly resulting in the execution of arbitrary code with the privileges of the user running the application or memory exhaustion, leading to a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All LittleCMS users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/lcms-1.18-r1"

4.  References


Page updated April 19, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.