Integer signedness error in the cmsAllocGamma function in src/cmsgamma.c in Little cms color engine (aka lcms) before 1.17 allows attackers
Integer signedness error in the cmsAllocGamma function in src/cmsgamma.c in Little cms color engine (aka lcms) before 1.17 allows attackers to have an unknown impact via a file containing a certain "number of entries" value, which is interpreted improperly, leading to an allocation of insufficient memory.
- Published
- Dec 3, 2008
- Updated
- Jun 16, 2026
- EPSS
- 2.2% · 82th percentile
- CWE
- CWE-189
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
41
Plan
Add it to your regular patch cycle.
- CVSS
- 40 / 40 · 10.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| littlecms | lcms | cpe:2.3:a:littlecms:lcms |
| littlecms | little cms color engine | cpe:2.3:a:littlecms:little_cms_color_engine |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- littlecms lcmsup to 1.16 inclusive
- littlecms lcms1.07
- littlecms lcms1.08
- littlecms lcms1.09
- littlecms lcms1.10
- littlecms lcms1.11
- littlecms lcms1.12
- littlecms lcms1.13
- littlecms lcms1.14
- littlecms lcms1.15
- littlecms little cms color engineup to 1.16 inclusive
- littlecms little cms color engine1.07
- littlecms little cms color engine1.08
- littlecms little cms color engine1.09
- littlecms little cms color engine1.10
- littlecms little cms color engine1.11
- littlecms little cms color engine1.12
- littlecms little cms color engine1.13
- littlecms little cms color engine1.14
- littlecms little cms color engine1.15
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | lcms | before 1.15-1.1+etch1 | 1.15-1.1+etch1 |
| Red Hat:enterprise_linux:5::client | python-lcms | before 0:1.15-1.2.2.el5_2.2 | 0:1.15-1.2.2.el5_2.2 |
| Red Hat:enterprise_linux:5::client_workstation | lcms | before 0:1.15-1.2.2.el5_2.2 | 0:1.15-1.2.2.el5_2.2 |
| Red Hat:enterprise_linux:5::client_workstation | lcms-debuginfo | before 0:1.15-1.2.2.el5_2.2 | 0:1.15-1.2.2.el5_2.2 |
| Red Hat:enterprise_linux:5::client_workstation | lcms-devel | before 0:1.15-1.2.2.el5_2.2 | 0:1.15-1.2.2.el5_2.2 |
Same product
littlecms: all recordsOther highest-scoring records for the same primary product.
- CVE-2008-5316Buffer overflow in the ReadEmbeddedTextTag function in src/cmsio1.c in Little cms color engine (aka lcms) before 1.16 allows attackers to ha41Plan
- CVE-2007-2741Stack-based buffer overflow in Little CMS (lcms) before 1.15 allows remote attackers to execute arbitrary code or cause a denial of service 39Monitor
- CVE-2009-0793cmsxform.c in LittleCMS (aka lcms or liblcms) 1.18, as used in OpenJDK and other products, allows remote attackers to cause a denial of serv18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:lcms | 1.15-1.1+etch1 · Debian:4.0 | Package registry (OSV) |
| red hat:lcms | 0:1.15-1.2.2.el5_2.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:lcms-debuginfo | 0:1.15-1.2.2.el5_2.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:lcms-devel | 0:1.15-1.2.2.el5_2.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:python-lcms | 0:1.15-1.2.2.el5_2.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-189 · Numeric ErrorsCVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lcms.cvs.sourceforge.net/viewvc/lcms/lcms/src/cmsgamma.c?view=diff&r1=1.16&r2=1.17
- secunia.com/advisories/33066
- secunia.com/advisories/33219
- www.debian.org/security/2008/dsa-1684
- www.openwall.com/lists/oss-security/2008/11/28/3
- www.redhat.com/support/errata/RHSA-2009-0011.html
- www.securityfocus.com/bid/32708
- exchange.xforce.ibmcloud.com/vulnerabilities/47120
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10685
- usn.ubuntu.com/693-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.