{"id":"USN-9480-1","summary":"cimg vulnerabilities","details":"It was discovered that CImg did not properly handle certain BMP images,\nwhich could lead to a heap-based buffer over-read. If a user or automated\nsystem were tricked into opening a specially crafted file, an attacker\ncould possibly use these issues to cause CImg to crash, resulting in a\ndenial of service, or obtain sensitive information. These issues only\naffected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-7588,\nCVE-2018-7637, CVE-2018-7638, CVE-2018-7639, CVE-2018-7640, CVE-2018-7641)\n\nIt was discovered that CImg did not properly handle certain BMP images,\nwhich could lead to a double free. If a user or automated system were\ntricked into opening a specially crafted file, an attacker could possibly\nuse this issue to cause CImg to crash, resulting in a denial of service, or\npossibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS.\n(CVE-2018-7589)\n\nIt was discovered that CImg did not properly sanitize URLs when loading\nimages from the network. An attacker could possibly use this issue to\nexecute arbitrary commands. This issue only affected Ubuntu 16.04 LTS and\nUbuntu 18.04 LTS. (CVE-2019-1010174)\n\nIt was discovered that CImg did not properly handle certain PNM images,\nwhich could lead to integer overflows and heap-based buffer overflows. If a\nuser or automated system were tricked into opening a specially crafted\nfile, an attacker could possibly use this issue to cause CImg to crash,\nresulting in a denial of service, or possibly execute arbitrary code. This\nissue only affected Ubuntu 16.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-25693)","modified":"2026-12-05T10:13:23.067568168Z","published":"2026-12-03T21:58:54Z","related":["UBUNTU-CVE-2018-7588","UBUNTU-CVE-2018-7589","UBUNTU-CVE-2018-7637","UBUNTU-CVE-2018-7638","UBUNTU-CVE-2018-7639","UBUNTU-CVE-2018-7640","UBUNTU-CVE-2018-7641","UBUNTU-CVE-2019-1010174","UBUNTU-CVE-2020-25693"],"upstream":["CVE-2018-7588","CVE-2018-7589","CVE-2018-7637","CVE-2018-7638","CVE-2018-7639","CVE-2018-7640","CVE-2018-7641","CVE-2019-1010174","CVE-2020-25693","UBUNTU-CVE-2018-7588","UBUNTU-CVE-2018-7589","UBUNTU-CVE-2018-7637","UBUNTU-CVE-2018-7638","UBUNTU-CVE-2018-7639","UBUNTU-CVE-2018-7640","UBUNTU-CVE-2018-7641","UBUNTU-CVE-2019-1010174","UBUNTU-CVE-2020-25693"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9480-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7588"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7589"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7637"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7638"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7639"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7640"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7641"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-1010174"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25693"}],"affected":[{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cimg?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5+dfsg-1ubuntu0.1~esm2"}]}],"versions":["1.6.4+dfsg-1build1","1.6.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cimg-examples","binary_version":"1.6.5+dfsg-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2018-7588","severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2018-7589"},{"severity":[{"score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2018-7637"},{"id":"CVE-2018-7638","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"severity":[{"score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2018-7639"},{"id":"CVE-2018-7640","severity":[{"source":"NVD","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":"low","source":"SELF"}]},{"severity":[{"score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2018-7641"},{"id":"CVE-2019-1010174","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2020-25693"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9480-1.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/cimg?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.9+dfsg-2ubuntu0.18.04.2+esm3"}]}],"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":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"cimg-examples","binary_version":"1.7.9+dfsg-2ubuntu0.18.04.2+esm3"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2018-7637","severity":[{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"score":"medium","source":"SELF","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2018-7638"},{"id":"CVE-2018-7639","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2018-7640","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"score":"low","source":"SELF","type":"Ubuntu"}]},{"severity":[{"source":"NVD","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","source":"SELF"}],"id":"CVE-2018-7641"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2019-1010174"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9480-1.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/cimg?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.5+dfsg-1ubuntu0.1~esm1"}]}],"versions":["2.4.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cimg-examples","binary_version":"2.4.5+dfsg-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9480-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2020-25693"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}}],"schema_version":"1.9.2"}