CVE-2022-0284

Source
https://cve.org/CVERecord?id=CVE-2022-0284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0284
Downstream
ALPINE (1)
CGA (2)
CLEANSTART (1)
JLSEC (1)
MGASA (1)
openSUSE (2)
SUSE (2)
Related
Published
2022-08-29T14:03:03Z
Modified
2026-10-28T10:23:14Z
Summary
[none]
Details

A heap-based-buffer-over-read flaw was found in ImageMagick's GetPixelAlpha() function of 'pixel-accessor.h'. This vulnerability is triggered when an attacker passes a specially crafted Tagged Image File Format (TIFF) image to convert it into a PICON file format. This issue can potentially lead to a denial of service and information disclosure.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0284.json"
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "Fixed in ImageMagick-7.1.0-20"
                },
                {
                    "last_affected": "Fixed in ImageMagick-7.1.0-20"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "e50f19fd73c792ebe912df8ab83aa51a243a3da7"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Fixed in ImageMagick-7.*
Fixed in ImageMagick-7.1.0-20

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0284.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "252425566050560855263177976518073506626",
            "length": 7880
        },
        "id": "CVE-2022-0284-60534e20",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/imagemagick/imagemagick/commit/e50f19fd73c792ebe912df8ab83aa51a243a3da7",
        "target": {
            "file": "coders/xpm.c",
            "function": "WritePICONImage"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "87797395018650578211231814916421761121",
                "200106990445893197953560268294270841294",
                "95033872146013753876397730148199448005",
                "41368052442698052330347212203678365153",
                "87797395018650578211231814916421761121",
                "201884265620066507831964570507506796376",
                "107880667450026525286913478423459820960",
                "328039202767865005710053993471843480653"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-0284-6edf2fec",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/imagemagick/imagemagick/commit/e50f19fd73c792ebe912df8ab83aa51a243a3da7",
        "target": {
            "file": "coders/xpm.c"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:23:14Z"