{"schemaVersion":3,"id":"CVE-2023-1906","aliases":["MGASA-2023-0161","SUSE-SU-2023:1927-1","UBUNTU-CVE-2023-1906","DEBIAN-CVE-2023-1906","openSUSE-SU-2024:12858-1"],"status":"published","duplicateOf":null,"title":null,"description":"A heap-based buffer overflow issue was discovered in ImageMagick's ImportMultiSpectralQuantum() function in MagickCore/quantum-import.c. An attacker could pass specially crafted file to convert, triggering an out-of-bounds read error, allowing an application to crash, resulting in a denial of service.","dates":{"published":"2023-04-12T00:00:00.000Z","modified":"2025-02-10T16:36:39.126Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00593,"percentile":0.47262,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00593},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00593,"percentile":0.47262}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00593,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00593,"percentile":0.47262}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_IMAGEMAGICK_IMAGEMAGICK","name":"Imagemagick","source":"github","url":"https://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/imagemagick","purlType":"deb","versions":[{"text":"< 8:6.9.11.60+dfsg-1.6+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.12.98+dfsg1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.9.11.60+dfsg-1.6+deb12u1 | < 8:6.9.12.98+dfsg1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/imagemagick","purlType":"deb","versions":[{"text":"< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 8:6.9.11.60+dfsg-1.6ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 | < 8:6.9.11.60+dfsg-1.6ubuntu1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","name":"extra packages for enterprise linux","label":"extra_packages_for_enterprise_linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":null,"hubHref":"/vendor/fedoraproject/extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"37","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"imagemagick","product":"imagemagick","name":"ImageMagick","label":"imagemagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.9.12-84","noFixRecorded":false,"fixedIn":null},{"text":"7.1.1-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.9.12-84 | 7.1.1-4","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"},{"vendor":"mageia","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/imagemagick","purlType":"rpm","versions":[{"text":"< 7.1.0.62-1.1.mga8","noFixRecorded":false,"fixedIn":null},{"text":"< 7.1.0.62-1.1.mga8.tainted","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.0.62-1.1.mga8 | < 7.1.0.62-1.1.mga8.tainted","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ImageMagick&distro=openSUSE Leap 15.4","name":"ImageMagick","label":"ImageMagick&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ImageMagick&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 7.1.0.9-150400.6.18.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.0.9-150400.6.18.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ImageMagick&distro=openSUSE Tumbleweed","name":"ImageMagick","label":"ImageMagick&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ImageMagick&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.1.1.6-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.1.6-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","name":"ImageMagick","label":"ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ImageMagick&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 7.1.0.9-150400.6.18.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.0.9-150400.6.18.1","eol":null,"hubHref":null},{"vendor":"suse","product":"ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4","name":"ImageMagick","label":"ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/ImageMagick&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4","purlType":"rpm","versions":[{"text":"< 7.1.0.9-150400.6.18.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.0.9-150400.6.18.1","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2185714","label":"bugzilla.redhat.com/show_bug.cgi?id=2185714","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-35q2-86c7-9247","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-35q2-86c7-9247","hostname":"github.com","tags":["Advisory","REPORT","Exploit","Vendor Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3","label":"github.com/ImageMagick/ImageMagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/ImageMagick/ImageMagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d","label":"github.com/ImageMagick/ImageMagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d","hostname":"github.com","tags":["Patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-1906","label":"access.redhat.com/security/cve/CVE-2023-1906","hostname":"access.redhat.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6655G3GPS42WQM32DJHUCZALI2URQSCO/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0161.html","label":"advisories.mageia.org/MGASA-2023-0161.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31817","label":"bugs.mageia.org/show_bug.cgi?id=31817","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.suse.com/pipermail/sle-security-updates/2023-April/014519.html","label":"lists.suse.com/pipermail/sle-security-updates/2023-April/014519.html","hostname":"lists.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20231927-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20231927-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1210308","label":"bugzilla.suse.com/1210308","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2023-1906","label":"www.suse.com/security/cve/CVE-2023-1906","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-1906","label":"ubuntu.com/security/CVE-2023-1906","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6200-1","label":"ubuntu.com/security/notices/USN-6200-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-1906","label":"www.cve.org/CVERecord?id=CVE-2023-1906","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-1906","label":"security-tracker.debian.org/tracker/CVE-2023-1906","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5628-1","USN-6200-1"],"duplicates":[],"related":["USN-6200-1"]},"timeline":[{"kind":"published","date":"2023-04-12T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-10T16:36:39.126Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:18:34.238Z","stale":false,"partial":false}}