← Vulnerability feed

Vulnerability record · CVE-2022-44268 · published 6 February 2023

CVE-2022-44268: ImageMagick PNG parsing arbitrary file read

Imagemagick · Imagemagick

ImageMagick 7.1.0-49 embeds the contents of an arbitrary local file into the output image when it parses a crafted PNG, for example during a resize. The file is read with the privileges of the magick binary, so any file that process can access may be disclosed. This matters because ImageMagick is widely embedded in web upload and thumbnail pipelines, turning a single crafted image into a file disclosure primitive.

6.5 CVSS 3.1 Medium EPSS 90% · top 0.2% CWE-200 · Information exposure
6.5CVSS 3.1 base score
90%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

ImageMagick 7.1.0-49 is vulnerable to Information Disclosure. When it parses a PNG image (e.g., for resize), the resulting image could have embedded the content of an arbitrary. file (if the magick binary has permissions to read it).

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityHigh EPSS and a public exploit write-up make exploitation likely, and the flaw yields direct disclosure of arbitrary readable files, though it requires the target to process a crafted image.

What it is

ImageMagick 7.1.0-49 embeds the contents of an arbitrary local file into the output image when it parses a crafted PNG, for example during a resize. The file is read with the privileges of the magick binary, so any file that process can access may be disclosed. This matters because ImageMagick is widely embedded in web upload and thumbnail pipelines, turning a single crafted image into a file disclosure primitive.

Impact

An attacker gains read access to arbitrary files readable by the ImageMagick process, which can expose configuration files, credentials, source code or other sensitive data. The output image returned to the attacker carries the stolen content.

Attack surface

Reached remotely over the network by supplying a crafted PNG to any service that processes images with ImageMagick; no authentication is required, but the victim or service must process the attacker-supplied image (UI:R).

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.89855, 99.78th percentile) and a public exploit write-up is referenced, indicating active interest and likely exploitation.

What to do

  • Upgrade ImageMagick to a version that fixes the PNG arbitrary file read (7.1.0-50 or later per vendor guidance).
  • Patch or update dependent packages and distributions (Debian DSA-5347, Fedora advisories) that bundle ImageMagick.
  • Run image processing with least privilege and restrict filesystem access so the magick process cannot read sensitive files.
  • Sanitize or re-encode untrusted images before processing, and disable or restrict PNG delegate/profile handling where feasible.

Detection

  • Monitor ImageMagick processes for unexpected reads of sensitive paths such as /etc/passwd, /etc/shadow, application config or key files.
  • Inspect uploaded and generated PNGs for embedded text or profile chunks containing file contents.
  • Alert on image-processing commands or services spawning with unusual file access patterns or reading files outside expected image directories.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-44268 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.4CVE-2016-3714ImageMagick coders allow command execution via crafted imageImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 fail to validate input in multiple coders (EPHEMERAL, HTTPS, MVG, MSL, TEXT, SHOW, WIN, PLT), allo…KEVEPSS 97%analysed5.5CVE-2016-3718ImageMagick HTTP/FTP coders allow server-side request forgery via crafted imageImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 mishandles the HTTP and FTP coders, letting a crafted image trigger server-side request forgery. A…KEVEPSS 77%analysed5.5CVE-2016-3715ImageMagick EPHEMERAL coder allows arbitrary file deletionThe EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 lets a crafted image cause deletion of arbitrary files. This is part of the…KEVEPSS 75%analysed10.0CVE-2004-0981Imagemagick vulnerabilityBuffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary code via a certain image file.EPSS 5.8%9.8CVE-2026-25971Imagemagick out-of-bounds write vulnerabilityImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, Magick fails…EPSS 0.37%9.8CVE-2026-25983Imagemagick use after free vulnerabilityImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a crafted MS…EPSS 0.52%9.8CVE-2026-25986Imagemagick out-of-bounds write vulnerabilityImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffe…EPSS 0.51%9.8CVE-2026-25968Imagemagick stack-based buffer overflow vulnerabilityImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buff…EPSS 0.47%

Source: NIST National Vulnerability Database (record CVE-2022-44268), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.