Medium
Security advisory
Little CMS (aka Little Color Management System) 2.9 has an integer overflow in the AllocateDataSet function in cmscgats.c, leading to a heap-based buffer overflow in the SetData function via a crafted file in the second argument to cmsIT8LoadFromFile.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-16435
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:27 UTC · Revision 1
Source evidence
Little CMS (aka Little Color Management System) 2.9 has an integer overflow in the AllocateDataSet function in cmscgats.c, leading to a heap-based buffer overflow in the SetData function via a crafted file in the second argument to cmsIT8LoadFromFile.
osv:CVE-2018-16435
Complete source record
{
"id": "c5fde727c7e15763b7e5421f7e7798d55b8f49b7366af7babc9e0749a532524d",
"url": "https://osv.dev/vulnerability/CVE-2018-16435",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-16435",
"summary": "Little CMS (aka Little Color Management System) 2.9 has an integer overflow in the AllocateDataSet function in cmscgats.c, leading to a heap-based buffer overflow in the SetData function via a crafted file in the second argument to cmsIT8LoadFromFile.",
"evidence": "osv:CVE-2018-16435",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-16435",
"aliases": [
"CVE-2018-16435"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mm2/little-cms",
"type": "GIT",
"events": [
{
"introduced": "29b019fd8726da70f162c7ce193440fe1ec4236f"
},
{
"last_affected": "29b019fd8726da70f162c7ce193440fe1ec4236f"
},
{
"fixed": "768f70ca405cd3159d990e962d54456773bb8cf8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:littlecms:little_cms_color_engine:2.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9"
},
{
"last_affected": "2.9"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "768f70ca405cd3159d990e962d54456773bb8cf8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.9",
"lcms2.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16435.json",
"vanir_signatures": [
{
"id": "CVE-2018-16435-145ab397",
"digest": {
"length": 495,
"function_hash": "289413441468416616139089740172043071606"
},
"source": "https://github.com/mm2/little-cms/commit/768f70ca405cd3159d990e962d54456773bb8cf8",
"target": {
"file": "src/cmscgats.c",
"function": "AllocateDataSet"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-16435-8ca9d527",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64461819997124482979106334286118280424",
"215041857296242105574815240746909299689",
"75106329927921068269574548044125513763",
"268625472409093130820740598677676587993",
"267438632354151732730819967558379999806",
"163551188216957160249149735703588185421",
"131517083498262472784063732309604051117"
]
},
"source": "https://github.com/mm2/little-cms/commit/768f70ca405cd3159d990e962d54456773bb8cf8",
"target": {
"file": "src/cmscgats.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:35:34Z"
}
}
],
"modified": "2026-10-20T13:35:34.062255666Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:3004",
"https://lists.debian.org/debian-lts-announce/2018/09/msg00005.html",
"https://security.gentoo.org/glsa/202105-18",
"https://usn.ubuntu.com/3770-1/",
"https://usn.ubuntu.com/3770-2/",
"https://www.debian.org/security/2018/dsa-4284",
"https://github.com/mm2/Little-CMS/commit/768f70ca405cd3159d990e962d54456773bb8cf8",
"https://github.com/mm2/Little-CMS/issues/171"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_desktop",
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server",
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_workstation",
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-16435",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387853,
"published_at": "2018-09-04T00:29:02.183+00:00"
}