CVE-2018-16435
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.45%• Percentile: 64%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 18.04
- debian•debian_linux
8.0 | 9.0
- littlecms•little_cms_color_engine
2.9
- redhat•enterprise_linux_desktop
6.0
- redhat•enterprise_linux_server
6.0
- redhat•enterprise_linux_workstation
6.0
References (8)
- https://usn.ubuntu.com/3770-2/
- https://usn.ubuntu.com/3770-1/
- https://access.redhat.com/errata/RHSA-2018:3004
- https://lists.debian.org/debian-lts-announce/2018/09/msg00005.html
- https://github.com/mm2/Little-CMS/issues/171
- https://www.debian.org/security/2018/dsa-4284
- https://github.com/mm2/Little-CMS/commit/768f70ca405cd3159d990e962d54456773bb8cf8
- https://security.gentoo.org/glsa/202105-18