{"id":"UBUNTU-CVE-2018-7588","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.","modified":"2026-04-22T13:20:53.820391Z","published":"2018-03-01T00:00:00Z","related":["USN-4039-1"],"upstream":["CVE-2018-7588"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7588"},{"type":"REPORT","url":"https://github.com/dtschump/CImg/issues/183"},{"type":"REPORT","url":"https://github.com/dtschump/CImg/commit/8447076ef22322a14a0ce130837e44c5ba8095f4"},{"type":"REPORT","url":"https://github.com/xiaoqx/pocs/tree/master/cimg"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4039-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-7588"}],"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-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-7588.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cimg@1.7.9+dfsg-2ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.9+dfsg-2ubuntu0.18.04.1"}]}],"versions":["1.7.9+dfsg-2","1.7.9+dfsg-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"cimg-examples","binary_version":"1.7.9+dfsg-2ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7588.json"}}],"schema_version":"1.7.5","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"}]}