Skip to main content
Public proof of conceptFix available

CVE-2023-1906

A public proof of concept exists; no exploitation attested.

  • Published2023-04-12
  • Fixed in6.9.12-84
  • WeaknessCWE-122 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-04-1222:15CVE publishedNVD

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
6.9< 6.9.12-846.9.12-84
7.1= 7.1.1-4no fix published
Fedoraproject extra packages for enterprise linux
BranchAffectedFixed in
8.0= 8.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
37.x= 37no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • ImageMagick
    Affected
    • = Fixed in ImageMagick v6.9.12-84, v 7.1.1-6.no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-05-16

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • imagemagickUbuntu:Pro:22.04:LTSall versions · fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2
  • imagemagickUbuntu:Pro:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm1
  • imagemagickUbuntu:Pro:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.16+esm8
  • imagemagickUbuntu:24.04:LTSall versions · fixed in 8:6.9.11.60+dfsg-1.6ubuntu1
  • imagemagickUbuntu:20.04:LTSall versions · fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.9
  • imagemagickMageia:8all versions · fixed in 7.1.0.62-1.1.mga8.tainted
  • imagemagickMageia:8all versions · fixed in 7.1.0.62-1.1.mga8
  • imagemagickDebian:14all versions · fixed in 8:6.9.12.98+dfsg1-2

11 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-1906 Red Hat Product Security

    ImageMagick: heap-based buffer overflow in ImportMultiSpectralQuantum() in MagickCore/quantum-import.c

Full record on NVD

Fix

  1. Update Imagemagick to 6.9.12-84

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
2023-04-12
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-vpgp-gjqv-364p

Frequently asked questions

What is CVE-2023-1906?

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.

Is CVE-2023-1906 actively exploited?

A proof-of-concept exploit exists for CVE-2023-1906, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-1906?

CVE-2023-1906 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Running ImageMagick? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record