# CVE-2023-1906: A heap-based buffer overflow issue was discovered in ImageMagick's ImportMultiSpectralQuantum() function in MagickCore/quantum-import.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-12T00:00:00.000Z
- Modified: 2026-06-17T05:29:00.410Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ImageMagick: Fixed in ImageMagick v6.9.12-84, v 7.1.1-6.
- imagemagick imagemagick: before 6.9.12-84; 7.1.1-4
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 37

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-35q2-86c7-9247> (exploit, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2185714> (issue-tracking, patch, third-party-advisory)
- <https://github.com/ImageMagick/ImageMagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3> (patch)
- <https://github.com/ImageMagick/ImageMagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d> (patch)
- <https://access.redhat.com/security/cve/CVE-2023-1906> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6655G3GPS42WQM32DJHUCZALI2URQSCO/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-1906](https://www.cve.org/CVERecord?id=CVE-2023-1906), CVE Terms of Use, modified 2025-02-10
- NVD: [CVE-2023-1906](https://nvd.nist.gov/vuln/detail/CVE-2023-1906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-1906 · Whole record: https://cve.day/CVE-2023-1906.json · Rebuilt by cve.day 2026-11-25T22:58:23.468Z
