{"schema_version":"1.8.0","id":"CVE-2018-16435","published":"2018-09-04T00:29:02.183Z","modified":"2026-08-07T14:58:27.858367Z","related":["SUSE-SU-2018:3498-1","SUSE-SU-2018:3545-1","SUSE-SU-2019:0049-1","SUSE-SU-2019:0049-2","SUSE-SU-2019:0057-1","SUSE-SU-2019:0057-2","SUSE-SU-2019:0058-1","openSUSE-SU-2019:0043-1","openSUSE-SU-2024:10876-1","openSUSE-SU-2024:10910-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mm2/little-cms","events":[{"introduced":"29b019fd8726da70f162c7ce193440fe1ec4236f"},{"last_affected":"29b019fd8726da70f162c7ce193440fe1ec4236f"},{"fixed":"768f70ca405cd3159d990e962d54456773bb8cf8"}],"database_specific":{"cpe":"cpe:2.3:a:littlecms:little_cms_color_engine:2.9:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.9"},{"last_affected":"2.9"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["2.9","lcms2.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16435.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"289413441468416616139089740172043071606","length":495},"id":"CVE-2018-16435-145ab397","signature_type":"Function","signature_version":"v1","source":"https://github.com/mm2/little-cms/commit/768f70ca405cd3159d990e962d54456773bb8cf8","target":{"file":"src/cmscgats.c","function":"AllocateDataSet"}},{"deprecated":false,"digest":{"line_hashes":["64461819997124482979106334286118280424","215041857296242105574815240746909299689","75106329927921068269574548044125513763","268625472409093130820740598677676587993","267438632354151732730819967558379999806","163551188216957160249149735703588185421","131517083498262472784063732309604051117"],"threshold":0.9},"id":"CVE-2018-16435-8ca9d527","signature_type":"Line","signature_version":"v1","source":"https://github.com/mm2/little-cms/commit/768f70ca405cd3159d990e962d54456773bb8cf8","target":{"file":"src/cmscgats.c"}}],"vanir_signatures_modified":"2026-08-07T14:58:27Z"}}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3004"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202105-18"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3770-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3770-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4284"},{"type":"FIX","url":"https://github.com/mm2/Little-CMS/commit/768f70ca405cd3159d990e962d54456773bb8cf8"},{"type":"FIX","url":"https://github.com/mm2/Little-CMS/issues/171"}],"database_specific":{"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:*:*:*"],"extracted_events":[{"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","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"6.0"},{"last_affected":"6.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_desktop"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"6.0"},{"last_affected":"6.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_server"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"6.0"},{"last_affected":"6.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux_workstation"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}