Home / Littlecms / Lcms / CVE-2008-5317
CVE-2008-5317: is it exploited, and which versions of Littlecms Lcms are affected and fixed?
CVE-2008-5317 is a vulnerability in Littlecms Lcms. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: lcms through 1.16, lcms 1.07, lcms 1.08 and 17 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (10.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-5317?
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.
From the CVE record by mitre, last updated August 7, 2024, 10:49 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| littlecms | lcms | through 1.16 | application |
| littlecms | lcms | 1.07 | application |
| littlecms | lcms | 1.08 | application |
| littlecms | lcms | 1.09 | application |
| littlecms | lcms | 1.10 | application |
| littlecms | lcms | 1.11 | application |
| littlecms | lcms | 1.12 | application |
| littlecms | lcms | 1.13 | application |
| littlecms | lcms | 1.14 | application |
| littlecms | lcms | 1.15 | application |
| littlecms | little cms color engine | through 1.16 | application |
| littlecms | little cms color engine | 1.07 | application |
| littlecms | little cms color engine | 1.08 | application |
| littlecms | little cms color engine | 1.09 | application |
| littlecms | little cms color engine | 1.10 | application |
| littlecms | little cms color engine | 1.11 | application |
| littlecms | little cms color engine | 1.12 | application |
| littlecms | little cms color engine | 1.13 | application |
| littlecms | little cms color engine | 1.14 | application |
| littlecms | little cms color engine | 1.15 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:59 UTC.
How severe is CVE-2008-5317?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-5317 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.16% probability of exploitation activity in the next 30 days, percentile 82.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 33219 third-party-advisory, x_refsource_SECUNIA
- 32708 vdb-entry, x_refsource_BID
- 33066 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:10685 vdb-entry, signature, x_refsource_OVAL
- DSA-1684 vendor-advisory, x_refsource_DEBIAN
- http://lcms.cvs.sourceforge.net/viewvc/lcms/lcms/src/cmsgamma.c?view=diff&r1=1.16&r2=1.17 x_refsource_CONFIRM
- [oss-security] 20081128 CVE request: lcms (old issues) mailing-list, x_refsource_MLIST
- lcms-cmsallocgamma-bo(47120) vdb-entry, x_refsource_XF
- RHSA-2009:0011 vendor-advisory, x_refsource_REDHAT
- USN-693-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- December 3, 2008
- Published
- December 3, 2008, 17:00 UTC
- CVE record updated
- August 7, 2024, 10:49 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:59 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Lcms?
- Apr 9, 2009CVE-2009-0793 Littlecms Lcms: improper input validation
- Dec 3, 2008CVE-2008-5316 Littlecms Lcms: memory corruption (buffer overflow)
- May 17, 2007CVE-2007-2741 Littlecms Lcms: memory corruption (buffer overflow)
Questions about CVE-2008-5317
Is CVE-2008-5317 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 2.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Littlecms Lcms are affected by CVE-2008-5317?
lcms through 1.16, lcms 1.07, lcms 1.08, lcms 1.09, lcms 1.10, lcms 1.11 and 14 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-5317?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-5317?
High (10.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5317?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.