USN-6200-2 (UBUNTU-CVE-2023-1289)
Vulnerability from osv_ubuntu – Published: 2024-07-25 23:55 – Updated: 2026-04-27 14:11 – Source websiteUSN-6200-1 fixed vulnerabilities in ImageMagick. Unfortunately these fixes were incomplete for Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. This update fixes the problem.
Original advisory details:
It was discovered that ImageMagick incorrectly handled the "-authenticate" option for password-protected PDF files. An attacker could possibly use this issue to inject additional shell commands and perform arbitrary code execution. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-29599)
It was discovered that ImageMagick incorrectly handled certain values when processing PDF files. If a user or automated system using ImageMagick were tricked into opening a specially crafted PDF file, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20224)
Zhang Xiaohui discovered that ImageMagick incorrectly handled certain values when processing image data. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20241, CVE-2021-20243)
It was discovered that ImageMagick incorrectly handled certain values when processing visual effects based image files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20244, CVE-2021-20309)
It was discovered that ImageMagick incorrectly handled certain values when performing resampling operations. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20246)
It was discovered that ImageMagick incorrectly handled certain values when processing thumbnail image data. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20312)
It was discovered that ImageMagick incorrectly handled memory cleanup when performing certain cryptographic operations. Under certain conditions sensitive cryptographic information could be disclosed. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20313)
It was discovered that ImageMagick did not use the correct rights when specifically excluded by a module policy. An attacker could use this issue to read and write certain restricted files. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-39212)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2021-3610, CVE-2023-1906, CVE-2023-3428)
It was discovered that ImageMagick incorrectly handled certain values when processing specially crafted SVG files. By tricking a user into opening a specially crafted SVG file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-1289)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted tiff file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-3195)
It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. (CVE-2023-34151)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2023-1289",
"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": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-34151",
"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"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "imagemagick",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "imagemagick-6-common",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "imagemagick-6.q16",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "imagemagick-6.q16hdri",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "imagemagick-common",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libimage-magick-perl",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libimage-magick-q16-perl",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libimage-magick-q16hdri-perl",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagick++-6-headers",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagick++-6.q16-8",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagick++-6.q16hdri-8",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6-arch-config",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6-headers",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6.q16-6",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6.q16-6-extra",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6.q16hdri-6",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickcore-6.q16hdri-6-extra",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickwand-6-headers",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickwand-6.q16-6",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "libmagickwand-6.q16hdri-6",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
},
{
"binary_name": "perlmagick",
"binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "imagemagick",
"purl": "pkg:deb/ubuntu/imagemagick@8:6.9.10.23+dfsg-2.1ubuntu11.10?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8:6.9.10.23+dfsg-2.1ubuntu11.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8:6.9.10.23+dfsg-2.1ubuntu3",
"8:6.9.10.23+dfsg-2.1ubuntu8",
"8:6.9.10.23+dfsg-2.1ubuntu9",
"8:6.9.10.23+dfsg-2.1ubuntu10",
"8:6.9.10.23+dfsg-2.1ubuntu11",
"8:6.9.10.23+dfsg-2.1ubuntu11.1",
"8:6.9.10.23+dfsg-2.1ubuntu11.2",
"8:6.9.10.23+dfsg-2.1ubuntu11.4",
"8:6.9.10.23+dfsg-2.1ubuntu11.5",
"8:6.9.10.23+dfsg-2.1ubuntu11.6",
"8:6.9.10.23+dfsg-2.1ubuntu11.7",
"8:6.9.10.23+dfsg-2.1ubuntu11.9"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2023-1289",
"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": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-34151",
"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"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "imagemagick",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "imagemagick-6-common",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "imagemagick-6.q16",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "imagemagick-6.q16hdri",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "imagemagick-common",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libimage-magick-perl",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libimage-magick-q16-perl",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libimage-magick-q16hdri-perl",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagick++-6-headers",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagick++-6.q16-8",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagick++-6.q16hdri-8",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6-arch-config",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6-headers",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6.q16-6",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6.q16-6-extra",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6.q16hdri-6",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickcore-6.q16hdri-6-extra",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickwand-6-headers",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickwand-6.q16-6",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "libmagickwand-6.q16hdri-6",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
},
{
"binary_name": "perlmagick",
"binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "imagemagick",
"purl": "pkg:deb/ubuntu/imagemagick@8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8:6.9.11.60+dfsg-1ubuntu1",
"8:6.9.11.60+dfsg-1.3",
"8:6.9.11.60+dfsg-1.3build1",
"8:6.9.11.60+dfsg-1.3build2",
"8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1",
"8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2",
"8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3"
]
}
],
"aliases": [],
"details": "\nUSN-6200-1 fixed vulnerabilities in ImageMagick. Unfortunately these fixes were\nincomplete for Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. This update fixes the\nproblem.\n\nOriginal advisory details:\n\n It was discovered that ImageMagick incorrectly handled the \"-authenticate\"\n option for password-protected PDF files. An attacker could possibly use\n this issue to inject additional shell commands and perform arbitrary code\n execution. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-29599)\n \n It was discovered that ImageMagick incorrectly handled certain values\n when processing PDF files. If a user or automated system using ImageMagick\n were tricked into opening a specially crafted PDF file, an attacker could\n exploit this to cause a denial of service. This issue only affected Ubuntu\n 20.04 LTS. (CVE-2021-20224)\n \n Zhang Xiaohui discovered that ImageMagick incorrectly handled certain\n values when processing image data. If a user or automated system using\n ImageMagick were tricked into opening a specially crafted image, an\n attacker could exploit this to cause a denial of service. This issue only\n affected Ubuntu 20.04 LTS. (CVE-2021-20241, CVE-2021-20243)\n \n It was discovered that ImageMagick incorrectly handled certain values\n when processing visual effects based image files. By tricking a user into\n opening a specially crafted image file, an attacker could crash the\n application causing a denial of service. This issue only affected Ubuntu\n 20.04 LTS. (CVE-2021-20244, CVE-2021-20309)\n \n It was discovered that ImageMagick incorrectly handled certain values\n when performing resampling operations. By tricking a user into opening\n a specially crafted image file, an attacker could crash the application\n causing a denial of service. This issue only affected Ubuntu 20.04 LTS.\n (CVE-2021-20246)\n \n It was discovered that ImageMagick incorrectly handled certain values\n when processing thumbnail image data. By tricking a user into opening\n a specially crafted image file, an attacker could crash the application\n causing a denial of service. This issue only affected Ubuntu 20.04 LTS.\n (CVE-2021-20312)\n \n It was discovered that ImageMagick incorrectly handled memory cleanup\n when performing certain cryptographic operations. Under certain conditions\n sensitive cryptographic information could be disclosed. This issue only\n affected Ubuntu 20.04 LTS. (CVE-2021-20313)\n \n It was discovered that ImageMagick did not use the correct rights when\n specifically excluded by a module policy. An attacker could use this issue\n to read and write certain restricted files. This issue only affected Ubuntu\n 20.04 LTS. (CVE-2021-39212)\n \n It was discovered that ImageMagick incorrectly handled memory under certain\n circumstances. If a user were tricked into opening a specially crafted\n image file, an attacker could possibly exploit this issue to cause a denial\n of service or other unspecified impact. This issue only affected Ubuntu\n 20.04 LTS. (CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547)\n \n It was discovered that ImageMagick incorrectly handled memory under certain\n circumstances. If a user were tricked into opening a specially crafted\n image file, an attacker could possibly exploit this issue to cause a denial\n of service or other unspecified impact. This issue only affected Ubuntu\n 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2021-3610, CVE-2023-1906,\n CVE-2023-3428)\n \n It was discovered that ImageMagick incorrectly handled certain values\n when processing specially crafted SVG files. By tricking a user into\n opening a specially crafted SVG file, an attacker could crash the\n application causing a denial of service. This issue only affected Ubuntu\n 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-1289)\n \n It was discovered that ImageMagick incorrectly handled memory under certain\n circumstances. If a user were tricked into opening a specially crafted\n tiff file, an attacker could possibly exploit this issue to cause a denial\n of service or other unspecified impact. This issue only affected Ubuntu\n 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-3195)\n \n It was discovered that ImageMagick incorrectly handled memory under certain\n circumstances. If a user were tricked into opening a specially crafted\n image file, an attacker could possibly exploit this issue to cause a denial\n of service or other unspecified impact. (CVE-2023-34151)\n",
"id": "USN-6200-2",
"modified": "2026-04-27T14:11:31Z",
"published": "2024-07-25T23:55:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6200-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-1289"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-34151"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "imagemagick vulnerabilities",
"upstream": [
"UBUNTU-CVE-2023-1289",
"UBUNTU-CVE-2023-34151"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.