{"id":"USN-5736-1","summary":"imagemagick vulnerabilities","details":"It was discovered that ImageMagick incorrectly handled certain values\nwhen processing PDF files. If a user or automated system using ImageMagick\nwere tricked into opening a specially crafted PDF file, an attacker could\nexploit this to cause a denial of service. This issue only affected Ubuntu\n14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 LTS. (CVE-2021-20224)\n\nZhang Xiaohui discovered that ImageMagick incorrectly handled certain\nvalues when processing image data. If a user or automated system using\nImageMagick were tricked into opening a specially crafted image, an\nattacker could exploit this to cause a denial of service. This issue only\naffected Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2021-20241)\n\nZhang Xiaohui discovered that ImageMagick incorrectly handled certain\nvalues when processing image data. If a user or automated system using\nImageMagick were tricked into opening a specially crafted image, an\nattacker could exploit this to cause a denial of service. This issue only\naffected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 22.10.\n(CVE-2021-20243)\n\nIt was discovered that ImageMagick incorrectly handled certain values\nwhen processing visual effects based image files. By tricking a user into\nopening a specially crafted image file, an attacker could crash the\napplication causing a denial of service. This issue only affected Ubuntu\n22.10. (CVE-2021-20244)\n\nIt was discovered that ImageMagick could be made to divide by zero when\nprocessing crafted files. By tricking a user into opening a specially\ncrafted image file, an attacker could crash the application causing a\ndenial of service. This issue only affected Ubuntu 22.10. (CVE-2021-20245)\n\nIt was discovered that ImageMagick incorrectly handled certain values\nwhen performing resampling operations. By tricking a user into opening\na specially crafted image file, an attacker could crash the application\ncausing a denial of service. This issue only affected Ubuntu 22.10.\n(CVE-2021-20246)\n\nIt was discovered that ImageMagick incorrectly handled certain values\nwhen processing visual effects based image files. By tricking a user into\nopening a specially crafted image file, an attacker could crash the\napplication causing a denial of service. This issue only affected Ubuntu\n22.10. (CVE-2021-20309)\n\nIt was discovered that ImageMagick incorrectly handled certain values\nwhen processing thumbnail image data. By tricking a user into opening\na specially crafted image file, an attacker could crash the application\ncausing a denial of service. This issue only affected Ubuntu 22.10.\n(CVE-2021-20312)\n\nIt was discovered that ImageMagick incorrectly handled memory cleanup\nwhen performing certain cryptographic operations. Under certain conditions\nsensitive cryptographic information could be disclosed. This issue only\naffected Ubuntu 22.10. (CVE-2021-20313)\n\nIt was discovered that ImageMagick did not properly manage memory under\ncertain circumstances. If a user were tricked into opening a specially\ncrafted file using the convert command, an attacker could possibly use\nthis issue to cause ImageMagick to crash, resulting in a denial of\nservice. This issue only affected Ubuntu 22.10. (CVE-2021-3574)\n\nIt was discovered that ImageMagick did not use the correct rights when\nspecifically excluded by a module policy. An attacker could use this issue\nto read and write certain restricted files. This issue only affected\nUbuntu 22.10. (CVE-2021-39212)\n\nIt was discovered that ImageMagick incorrectly handled certain values\nwhen processing specially crafted SVG files. By tricking a user into\nopening a specially crafted SVG file, an attacker could crash the\napplication causing a denial of service. This issue only affected Ubuntu\n22.10. (CVE-2021-4219)\n\nIt was discovered that ImageMagick did not properly manage memory under\ncertain circumstances. If a user were tricked into opening a specially\ncrafted DICOM file, an attacker could possibly use this issue to cause\nImageMagick to crash, resulting in a denial of servicei, or expose sensitive\ninformation. This issue only affected Ubuntu 22.10. (CVE-2022-1114)\n\nIt was discovered that ImageMagick incorrectly handled memory under\ncertain circumstances. If a user were tricked into opening a specially\ncrafted image file, an attacker could possibly exploit this issue to cause\na denial of service or other unspecified impact. This issue only affected\nUbuntu 22.10. (CVE-2022-28463)\n\nIt was discovered that ImageMagick incorrectly handled certain values.\nIf a user were tricked into processing a specially crafted image file,\nan attacker could possibly exploit this issue to cause a denial of service\nor other unspecified impact. This issue only affected Ubuntu 14.04 ESM,\nUbuntu 18.04 LTS and Ubuntu 22.10. (CVE-2022-32545, CVE-2022-32546)\n\nIt was discovered that ImageMagick incorrectly handled memory under\ncertain circumstances. If a user were tricked into processing a specially\ncrafted image file, an attacker could possibly exploit this issue to cause\na denial of service or other unspecified impact. This issue only affected\nUbuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 22.10. (CVE-2022-32547)\n","modified":"2026-02-10T04:42:51Z","published":"2022-11-24T08:11:00Z","related":["UBUNTU-CVE-2021-20224","UBUNTU-CVE-2021-20241","UBUNTU-CVE-2021-20243","UBUNTU-CVE-2021-20244","UBUNTU-CVE-2021-20245","UBUNTU-CVE-2021-20246","UBUNTU-CVE-2021-20309","UBUNTU-CVE-2021-20312","UBUNTU-CVE-2021-20313","UBUNTU-CVE-2021-3574","UBUNTU-CVE-2021-39212","UBUNTU-CVE-2021-4219","UBUNTU-CVE-2022-1114","UBUNTU-CVE-2022-28463","UBUNTU-CVE-2022-32545","UBUNTU-CVE-2022-32546","UBUNTU-CVE-2022-32547"],"upstream":["CVE-2021-20224","CVE-2021-20241","CVE-2021-20243","CVE-2021-20244","CVE-2021-20245","CVE-2021-20246","CVE-2021-20309","CVE-2021-20312","CVE-2021-20313","CVE-2021-3574","CVE-2021-39212","CVE-2021-4219","CVE-2022-1114","CVE-2022-28463","CVE-2022-32545","CVE-2022-32546","CVE-2022-32547","UBUNTU-CVE-2021-20224","UBUNTU-CVE-2021-20241","UBUNTU-CVE-2021-20243","UBUNTU-CVE-2021-20244","UBUNTU-CVE-2021-20245","UBUNTU-CVE-2021-20246","UBUNTU-CVE-2021-20309","UBUNTU-CVE-2021-20312","UBUNTU-CVE-2021-20313","UBUNTU-CVE-2021-3574","UBUNTU-CVE-2021-39212","UBUNTU-CVE-2021-4219","UBUNTU-CVE-2022-1114","UBUNTU-CVE-2022-28463","UBUNTU-CVE-2022-32545","UBUNTU-CVE-2022-32546","UBUNTU-CVE-2022-32547"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5736-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3574"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-4219"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20224"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20241"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20243"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20244"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20245"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20246"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20309"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20312"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20313"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-39212"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1114"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-28463"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-32545"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-32546"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-32547"}],"affected":[{"package":{"name":"imagemagick","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/imagemagick@8:6.7.7.10-6ubuntu3.13+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-6ubuntu3.13+esm3"}]}],"versions":["8:6.7.7.10-5ubuntu3","8:6.7.7.10-5ubuntu4","8:6.7.7.10-6ubuntu1","8:6.7.7.10-6ubuntu2","8:6.7.7.10-6ubuntu3","8:6.7.7.10-6ubuntu3.1","8:6.7.7.10-6ubuntu3.2","8:6.7.7.10-6ubuntu3.3","8:6.7.7.10-6ubuntu3.4","8:6.7.7.10-6ubuntu3.5","8:6.7.7.10-6ubuntu3.6","8:6.7.7.10-6ubuntu3.7","8:6.7.7.10-6ubuntu3.8","8:6.7.7.10-6ubuntu3.9","8:6.7.7.10-6ubuntu3.11","8:6.7.7.10-6ubuntu3.12","8:6.7.7.10-6ubuntu3.13","8:6.7.7.10-6ubuntu3.13+esm1","8:6.7.7.10-6ubuntu3.13+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"imagemagick"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"imagemagick-common"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagick++-dev"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagick++5"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagickcore-dev"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagickcore5"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagickcore5-extra"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagickwand-dev"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"libmagickwand5"},{"binary_version":"8:6.7.7.10-6ubuntu3.13+esm3","binary_name":"perlmagick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5736-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2021-20224","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"}]},{"id":"CVE-2021-20243","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":"low"}]},{"id":"CVE-2022-32545","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-32546","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-32547","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"imagemagick","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/imagemagick@8:6.8.9.9-7ubuntu5.16+esm5?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.8.9.9-7ubuntu5.16+esm5"}]}],"versions":["8:6.8.9.9-5ubuntu2","8:6.8.9.9-6","8:6.8.9.9-6build1","8:6.8.9.9-7","8:6.8.9.9-7ubuntu1","8:6.8.9.9-7ubuntu2","8:6.8.9.9-7ubuntu3","8:6.8.9.9-7ubuntu4","8:6.8.9.9-7ubuntu5","8:6.8.9.9-7ubuntu5.1","8:6.8.9.9-7ubuntu5.2","8:6.8.9.9-7ubuntu5.3","8:6.8.9.9-7ubuntu5.4","8:6.8.9.9-7ubuntu5.5","8:6.8.9.9-7ubuntu5.6","8:6.8.9.9-7ubuntu5.7","8:6.8.9.9-7ubuntu5.8","8:6.8.9.9-7ubuntu5.9","8:6.8.9.9-7ubuntu5.11","8:6.8.9.9-7ubuntu5.12","8:6.8.9.9-7ubuntu5.13","8:6.8.9.9-7ubuntu5.14","8:6.8.9.9-7ubuntu5.15","8:6.8.9.9-7ubuntu5.16","8:6.8.9.9-7ubuntu5.16+esm1","8:6.8.9.9-7ubuntu5.16+esm2","8:6.8.9.9-7ubuntu5.16+esm3","8:6.8.9.9-7ubuntu5.16+esm4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"imagemagick"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"imagemagick-6.q16"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"imagemagick-common"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libimage-magick-perl"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libimage-magick-q16-perl"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagick++-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagick++-6.q16-5v5"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagick++-6.q16-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagick++-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-6-arch-config"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-6.q16-2"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-6.q16-2-extra"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-6.q16-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickcore-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickwand-6-headers"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickwand-6.q16-2"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickwand-6.q16-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"libmagickwand-dev"},{"binary_version":"8:6.8.9.9-7ubuntu5.16+esm5","binary_name":"perlmagick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5736-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2021-20224","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"}]}]}}},{"package":{"name":"imagemagick","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/imagemagick@8:6.9.7.4+dfsg-16ubuntu6.14?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.9.7.4+dfsg-16ubuntu6.14"}]}],"versions":["8:6.9.7.4+dfsg-16ubuntu2","8:6.9.7.4+dfsg-16ubuntu3","8:6.9.7.4+dfsg-16ubuntu4","8:6.9.7.4+dfsg-16ubuntu5","8:6.9.7.4+dfsg-16ubuntu6","8:6.9.7.4+dfsg-16ubuntu6.2","8:6.9.7.4+dfsg-16ubuntu6.3","8:6.9.7.4+dfsg-16ubuntu6.4","8:6.9.7.4+dfsg-16ubuntu6.7","8:6.9.7.4+dfsg-16ubuntu6.8","8:6.9.7.4+dfsg-16ubuntu6.9","8:6.9.7.4+dfsg-16ubuntu6.11","8:6.9.7.4+dfsg-16ubuntu6.12","8:6.9.7.4+dfsg-16ubuntu6.13"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"imagemagick"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"imagemagick-6-common"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"imagemagick-6.q16"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"imagemagick-6.q16hdri"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"imagemagick-common"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libimage-magick-perl"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libimage-magick-q16-perl"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libimage-magick-q16hdri-perl"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-6-headers"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-6.q16-7"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-6.q16-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-6.q16hdri-7"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-6.q16hdri-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagick++-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6-arch-config"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6-headers"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16-3"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16-3-extra"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16hdri-3"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16hdri-3-extra"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-6.q16hdri-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickcore-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-6-headers"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-6.q16-3"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-6.q16-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-6.q16hdri-3"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-6.q16hdri-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"libmagickwand-dev"},{"binary_version":"8:6.9.7.4+dfsg-16ubuntu6.14","binary_name":"perlmagick"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5736-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2021-20224","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"}]},{"id":"CVE-2021-20241","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":"low"}]},{"id":"CVE-2021-20243","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":"low"}]},{"id":"CVE-2022-32545","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-32546","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-32547","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.7.3"}