Description
Multiple stack-based buffer overflows in the ReadSetOfCurves function in LittleCMS (aka lcms or liblcms) before 1.18beta2, as used in Firefox 3.1beta, OpenJDK, and GIMP, allow context-dependent attackers to execute arbitrary code via a crafted image file associated with a large integer value for the (1) input or (2) output channel, related to the ReadLUT_A2B and ReadLUT_B2A functions.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | lcms | 1.17.dfsg-1+lenny1 | DSA-1745-1 |
| Debian 5.0 | openjdk-6 | 6b11-9.1+lenny2 | DSA-1769-1 |
| Debian 4.0 | lcms | 1.15-1.1+etch2 | DSA-1745-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | java-1.6.0-openjdk +4 | 1:1.6.0.0-0.30.b09.el5 | RHSA-2009:0377 |
| RHEL 5 | lcms +2 | 1.18-0.1.beta1.el5_3.2 | RHSA-2009:0339 |
Advisories 4
- RHSA-2009:0377 Red Hat Security Advisory: java-1.6.0-openjdk security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:0339 Red Hat Security Advisory: lcms security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1769-1 openjdk-6 - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1745-1 lcms - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2009-2970 vendor-advisory
- littlecms-readsetofcurves-bo(49330) vdb-entry
- MDVSA-2009:137 vendor-advisory
- 34632 third-party-advisory
- 34450 third-party-advisory
- 1021869 vdb-entry
- FEDORA-2009-2928 vendor-advisory
- SUSE-SR:2009:007 vendor-advisory
- USN-744-1 vendor-advisory
- DSA-1745 vendor-advisory
- 34675 third-party-advisory
- 34454 third-party-advisory
- 34442 third-party-advisory
- FEDORA-2009-2982 vendor-advisory
- FEDORA-2009-3034 vendor-advisory
- FEDORA-2009-2903 vendor-advisory
- http://scary.beasts.org/security/CESA-2009-003.html
- 34382 third-party-advisory
- SSA:2009-083-01 vendor-advisory
- 34418 third-party-advisory
- 20090320 [oCERT-2009-003] LittleCMS integer errors mailing-list
- RHSA-2009:0377 vendor-advisory
- http://www.ocert.org/advisories/ocert-2009-003.html
- http://scarybeastsecurity.blogspot.com/2009/03/littlecms-vulnerabilities.html
- 34782 third-party-advisory
- 34367 third-party-advisory
- MDVSA-2009:162 vendor-advisory
- RHSA-2009:0339 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=487512
- ADV-2009-0775 vdb-entry
- 34463 third-party-advisory
- 34408 third-party-advisory
- DSA-1769 vendor-advisory
- 34400 third-party-advisory
- MDVSA-2009:121 vendor-advisory
- 20090320 LittleCMS vulnerabilities (OpenJDK, Firefox, GIMP, etc. impacted) mailing-list
- FEDORA-2009-2910 vendor-advisory
- oval:org.mitre.oval:def:9742 vdb-entry signature
- 34185 vdb-entry
- GLSA-200904-19 vendor-advisory
- FEDORA-2009-2983 vendor-advisory