{"id":"CVE-2023-1906","details":"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.","aliases":["GHSA-35q2-86c7-9247"],"modified":"2026-08-18T17:25:21.574918Z","published":"2023-04-12T00:00:00Z","related":["SUSE-SU-2023:1927-1","openSUSE-SU-2024:12858-1"],"database_specific":{"cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1906.json","unresolved_ranges":[{"extracted_events":[{"introduced":"Fixed in ImageMagick v6.9.12-84, v 7.1.1-6."},{"last_affected":"Fixed in ImageMagick v6.9.12-84, v 7.1.1-6."}],"source":"AFFECTED_FIELD"}],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-1906"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1906.json"},{"type":"ADVISORY","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-35q2-86c7-9247"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6655G3GPS42WQM32DJHUCZALI2URQSCO/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1906"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2185714"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"10ad43dc3e5113fa1969a55583a080c5a6a23f65"},{"fixed":"d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3"}],"database_specific":{"cpe":"cpe:2.3:a:imagemagick:imagemagick:7.1.1-4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.1.1-4"},{"last_affected":"7.1.1-4"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["7.1.1-4","7.1.1-5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1906.json","vanir_signatures_modified":"2026-08-18T17:25:21Z","vanir_signatures":[{"target":{"function":"ReadTIFFImage","file":"coders/tiff.c"},"deprecated":false,"digest":{"function_hash":"149476755812666217664135650598740949751","length":23604},"id":"CVE-2023-1906-195d1b52","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3","target":{"file":"coders/tiff.c"},"deprecated":false,"digest":{"line_hashes":["151150098313691558966789840033230653481","296310619011704825071303630096226686489","171367926610456084490699054566304259528","315707733254325176249062617782103364686","18065814098927483271360742095403979758"],"threshold":0.9},"id":"CVE-2023-1906-8026f19d"}]}},{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick6","events":[{"introduced":"0"},{"fixed":"0731a3791fc3e270abf8b9209e2402a30518db04"},{"fixed":"e30c693b37c3b41723f1469d1226a2c814ca443d"}],"database_specific":{"cpe":"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.9.12-84"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["6.9.12-83","6.9.12-82","6.9.12-81","6.9.12-80","6.9.12-79","6.9.12-78","6.9.12-77","6.9.12-76","6.9.12-75","6.9.12-74","6.9.12-73","6.9.12-72","6.9.12-71","6.9.12-70","6.9.12-69","6.9.12-68","6.9.12-67","6.9.12-66","6.9.12-65","6.9.12-64","6.9.12-63","6.9.12-62","6.9.12-61","6.9.12-60","6.9.12-59","6.9.12-58","6.9.12-57","6.9.12-56","6.9.12-55","6.9.12-54","6.9.12-53","6.9.12-52","6.9.12-51","6.9.12-50","6.9.12-49","6.9.12-48","6.9.12-47","6.9.12-46","6.9.12-45","6.9.12-44","6.9.12-43","6.9.12-42","6.9.12-41","6.9.12-40","6.9.12-39","6.9.12-38","6.9.12-37","6.9.12-36","6.9.12-35","6.9.12-34","6.9.12-33","6.9.12-32","6.9.12-31","6.9.12-30","6.9.12-29","6.9.12-28","6.9.12-27","6.9.12-26","6.9.12-25","6.9.12-24","6.9.12-23","6.9.12-22","6.9.12-21","6.9.12-20","6.9.12-19","6.9.12-18","6.9.12-17","6.9.12-16","6.9.12-15","6.9.12-14","6.9.12-12","6.9.12-11","6.9.12-10","6.9.12-9","6.9.12-8","6.9.12-7","6.9.12-6","6.9.12-5","6.9.12-4","6.9.12-3","6.9.12-2","6.9.12-1","6.9.12-0","6.9.11-62","6.9.11-61","6.9.11-60","6.9.11-59","6.9.11-57","6.9.11-56","6.9.11-55","6.9.11-54","6.9.11-53","6.9.11-52","6.9.11-51","6.9.11-50","6.9.11-49","6.9.11-48","6.9.11-47","6.9.11-46","6.9.11-45","6.9.11-44","6.9.11-43","6.9.11-42","6.9.11-41","6.9.11-40","6.9.11-39","6.9.11-38","6.9.11-37","6.9.11-36","6.9.11-35","6.9.11-34","6.9.11-33","6.9.11-32","6.9.11-31","6.9.11-30","6.9.11-29","6.9.11-28","6.9.11-27","6.9.11-26","6.9.11-25","6.9.11-24","6.9.11-23","6.9.11-22","6.9.11-21","6.9.11-20","6.9.11-19","6.9.11-18","6.9.11-17","6.9.11-16","6.9.11-15","6.9.11-14","6.9.11-13","6.9.11-12","6.9.11-11","6.9.11-10","6.9.11-9","6.9.11-8","6.9.11-7","6.9.11-6","6.9.11-5","6.9.11-4","6.9.11-3","6.9.11-2","6.9.11-1","6.9.11-0","6.9.10-97","6.9.10-96","6.9.10-95","6.9.10-94","6.9.10-93","6.9.10-92","6.9.10-91","6.9.10-90","6.9.10-89","6.9.10-88","6.9.10-87","6.9.10-86","6.9.10-85","6.9.10-84","6.9.10-83","6.9.10-82","6.9.10-81","6.9.10-80","6.9.10-79","6.9.10-78","6.9.10-77","6.9.10-75","6.9.10-74","6.9.10-73","6.9.10-72","6.9.10-71","6.9.10-70","6.9.10-69","6.9.10-68","6.9.10-67","6.9.10-66","6.9.10-65","6.9.10-64","6.9.10-63","6.9.10-62","6.9.10-61","6.9.10-60","6.9.10-59","6.9.10-58","6.9.10-57","6.9.10-56","6.9.10-55","6.9.10-54","6.9.10-53","6.9.10-52","6.9.10-51","6.9.10-50","6.9.10-49","6.9.10-48","6.9.10-47","6.9.10-46","6.9.10-45","6.9.10-44","6.9.10-43","6.9.10-42","6.9.10-41","6.9.10-40","6.9.10-39","6.9.10-38","6.9.10-37","6.9.10-36","6.9.10-35","6.9.10-34","6.9.10-33","6.9.10-32","6.9.10-31","6.9.10-30","6.9.10-29","6.9.10-28","6.9.10-27","6.9.10-26","6.9.10-25","6.9.10-24","6.9.10-23","6.9.10-22","6.9.10-21","6.9.10-20","6.9.10-19","6.9.10-18","6.9.10-17","6.9.10-16","6.9.10-15","6.9.10-14","6.9.10-13","6.9.10-12","6.9.10-11","6.9.10-10","6.9.10-9","6.9.10-8","6.9.10-7","6.9.10-6","6.9.10-5","6.9.10-4","6.9.10-3","6.9.10-2","6.9.10-1","6.9.10-0","6.9.9-51","6.9.9-50","6.9.9-49","6.9.9-48","6.9.9-47","6.9.9-46","6.9.9-45","6.9.9-44","6.9.9-43","6.9.9-42","6.9.9-41","6.9.9-40","6.9.9-39","6.9.9-38","6.9.9-37","6.9.9-36","6.9.9-35","6.9.9-34","6.9.9-33","6.9.9-32","6.9.9-31","6.9.9-30","6.9.9-29","6.9.9-28","6.9.9-27","6.9.9-26","6.9.9-25","6.9.9-24","6.9.9-23","6.9.9-22","6.9.9-21","6.9.9-20","6.9.9-19","6.9.9-18","6.9.9-17","6.9.9-15","6.9.9-14","6.9.9-13","6.9.9-12","6.9.9-11","6.9.9-10","6.9.9-9","6.9.9-8","6.9.9-7","6.9.9-6","6.9.9-5","6.9.9-4","6.9.9-3","6.9.9-2","6.9.9-1","6.9.9-0","6.9.8-10","6.9.8-9","6.9.8-8","6.9.8-7","6.9.8-6","6.9.8-5","6.9.8-4","6.9.8-3","6.9.8-2","6.9.8-1","6.9.8-0","6.9.7-10","6.9.7-9","6.9.7-8","6.9.7-7","6.9.7-6","6.9.7-5","6.9.7-4","6.9.7-3","6.9.7-2","6.9.7-1","6.9.7-0","6.9.6-8","6.9.6-7","6.9.6-6","6.9.6-5","6.9.6-4","6.9.6-3","6.9.6-2","6.9.6-1","6.9.6-0","6.9.5-10","6.9.5-9","6.9.5-8","6.9.5-7","6.9.5-6","6.9.5-5","6.9.5-4","6.9.5-3","6.9.5-2","6.9.5-1","6.9.5-0","6.9.4-10","6.9.4-9","6.9.4-8","6.9.4-7","6.9.4-6","6.9.4-5","6.9.4-4","6.9.4-3","6.9.4-2","6.9.4-1","6.9.4-0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1906.json","vanir_signatures_modified":"2026-08-18T17:25:21Z","vanir_signatures":[{"digest":{"line_hashes":["151150098313691558966789840033230653481","153218788397097334813751225780231635941","271086338835071861133624358271567747546","112749370230066917425780743551720670016","107049740592164306293298141409052860617"],"threshold":0.9},"id":"CVE-2023-1906-167454da","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d","target":{"file":"coders/tiff.c"},"deprecated":false},{"target":{"file":"coders/tiff.c","function":"ReadTIFFImage"},"deprecated":false,"digest":{"function_hash":"121795050214466308353526682305693204968","length":23433},"id":"CVE-2023-1906-f79ffe68","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick6/commit/e30c693b37c3b41723f1469d1226a2c814ca443d"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}