cve.bz

CVE-2022-44268 imagemagick imagemagick

6.5 mediumExploitEPSS 90%

Medium (6.5) in imagemagick imagemagick. EPSS 90% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
90% (unchanged from 90% a week ago; 90% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-03-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-44268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-44268?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-44268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-44268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagick7.1.0-49

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10imagemagick8:6.9.10.23+dfsg-2.1+deb10u2DLA-3357-1
Debian11imagemagick8:6.9.11.60+dfsg-1.3+deb11u1DSA-5347-1
Debian12, 13, 14imagemagick8:6.9.11.60+dfsg-1.6DEBIAN-CVE-2022-44268
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.15UBUNTU-CVE-2022-44268 USN-5855-1
Ubuntu20.04:LTSimagemagick8:6.9.10.23+dfsg-2.1ubuntu11.5UBUNTU-CVE-2022-44268 USN-5855-2
Ubuntu22.04:LTSimagemagick8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1UBUNTU-CVE-2022-44268 USN-5855-2
UbuntuPro:14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.13+esm5UBUNTU-CVE-2022-44268 USN-5855-4
UbuntuPro:16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.16+esm7UBUNTU-CVE-2022-44268 USN-5855-4
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 moreImageMagick7.0.7.34-150200.10.42.1SUSE-SU-2023:0424-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1ImageMagick7.0.7.34-150000.3.123.1SUSE-SU-2023:4634-1
SUSELinux Enterprise Module for Desktop Applications 15 SP4, Linux Enterprise Module for Development Tools 15 SP4ImageMagick7.1.0.9-150400.6.12.1SUSE-SU-2023:0428-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 6 moreImageMagick6.8.8.1-71.183.1SUSE-SU-2023:0421-1
openSUSELeap 15.4ImageMagick7.0.7.34-150200.10.42.1SUSE-SU-2023:0424-1
openSUSELeap 15.4ImageMagick7.1.0.9-150400.6.12.1SUSE-SU-2023:0428-1
openSUSETumbleweedImageMagick7.1.1.17-1.1openSUSE-SU-2024:13263-1
Alpinev3.18, v3.19, v3.20 and 4 moreimagemagick7.1.0.52-r0ALPINE-CVE-2022-44268

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate the issue, we recommend setting a security policy that is suitable for your local environment. Add this to your security policy (policy.xml):

~~~

<policy domain="path" rights="none" pattern="/etc/*"/> <!-- don't read sensitive paths -->

~~~

With above policy, you get:

~~~

$ magick logo: -set profile /etc/passwd logo.png

magick: attempt to perform an operation not allowed by the security policy `/etc/passwd' @ error/blob.c/FileToBlob/1433.

~~~

This can be as draconian as needed. Use /* as the path to prevent reading any file with an absolute path. You can also protect against relative paths:

~~~

<policy domain="path" rights="none" pattern="../*"/>

~~~

(For more information, refer to the complete issue discussion in external references)

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6ImageMagickOut of support scope
Red Hat Enterprise Linux 7ImageMagickOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-44268.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Possible ImageMagick (7.1.0-49) Arbitrary Remote Leak PNG Upload Attempt (CVE-2022-44268) sid 2044120

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON