{"id":"USN-7437-1","summary":"cimg vulnerabilities","details":"It was discovered that the CImg library did not properly check the size\nof images before loading them. An attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 22.04 LTS.\n(CVE-2022-1325)\n\nIt was discovered that the CImg library did not correctly handle certain\nmemory operations, which could lead to a buffer overflow. An attacker\ncould possibly use this issue to execute arbitrary code or cause a denial\nof service. (CVE-2024-26540)\n","modified":"2026-04-27T17:54:37.256565Z","published":"2025-04-15T02:04:00Z","related":["UBUNTU-CVE-2022-1325","UBUNTU-CVE-2024-26540"],"upstream":["CVE-2022-1325","CVE-2024-26540","UBUNTU-CVE-2022-1325","UBUNTU-CVE-2024-26540"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7437-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1325"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-26540"}],"affected":[{"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"},{"fixed":"1.7.9+dfsg-2ubuntu0.18.04.2+esm1"}]}],"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"],"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+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7437-1.json","cves_map":{"cves":[{"id":"CVE-2024-26540","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/cimg@2.9.4+dfsg-3ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.4+dfsg-3ubuntu0.1~esm1"}]}],"versions":["2.9.4+dfsg-2","2.9.4+dfsg-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"cimg-examples","binary_version":"2.9.4+dfsg-3ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-1325","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-26540","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7437-1.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/cimg@3.2.1+dfsg-1ubuntu0.24.04.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1+dfsg-1ubuntu0.24.04.1~esm1"}]}],"versions":["3.2.1+dfsg-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"cimg-examples","binary_version":"3.2.1+dfsg-1ubuntu0.24.04.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"id":"CVE-2024-26540","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7437-1.json"}}],"schema_version":"1.7.5"}