{"id":"UBUNTU-CVE-2022-1325","details":"A flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.","modified":"2026-04-22T13:13:52.243274Z","published":"2022-08-31T16:15:00Z","related":["USN-7437-1"],"upstream":["CVE-2022-1325"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1325"},{"type":"REPORT","url":"https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2022-1325"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2074549"},{"type":"REPORT","url":"https://github.com/GreycLab/CImg/pull/348"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1325"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7437-1"}],"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/2022/UBUNTU-CVE-2022-1325.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-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/2022/UBUNTU-CVE-2022-1325.json"}},{"package":{"name":"cimg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cimg@2.4.5+dfsg-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"cimg-examples","binary_version":"2.4.5+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1325.json"}},{"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":{"binaries":[{"binary_name":"cimg-examples","binary_version":"2.9.4+dfsg-3ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1325.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}