{"id":"UBUNTU-CVE-2018-7639","details":"An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a \"16 bits colors\" case, aka case 16.","modified":"2025-10-24T04:46:57Z","published":"2018-03-02T14:29:00Z","upstream":["CVE-2018-7639"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7639"},{"type":"REPORT","url":"https://github.com/dtschump/CImg/issues/185"},{"type":"REPORT","url":"https://github.com/dtschump/CImg/commit/10af1e8c1ad2a58a0a3342a856bae63e8f257abb"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-7639"}],"affected":[{"package":{"name":"cimg","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/cimg@1.6.5+dfsg-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4+dfsg-1build1","1.6.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cimg-dev","binary_version":"1.6.5+dfsg-1"},{"binary_name":"cimg-examples","binary_version":"1.6.5+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7639.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/cimg@1.7.9+dfsg-2ubuntu0.18.04.2+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.9+dfsg-2","1.7.9+dfsg-2build1","1.7.9+dfsg-2ubuntu0.18.04.1","1.7.9+dfsg-2ubuntu0.18.04.2","1.7.9+dfsg-2ubuntu0.18.04.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"cimg-dev","binary_version":"1.7.9+dfsg-2ubuntu0.18.04.2+esm1"},{"binary_name":"cimg-examples","binary_version":"1.7.9+dfsg-2ubuntu0.18.04.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7639.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}