A heap buffer overflow issue was found in ImageMagick. When an application processes a malformed TIFF file, it could lead to undefined behavior or a crash causing a denial of service.
{
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3213.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "Fixed in ImageMagick 7.1.0-47, ImageMagick 6.9.12-62"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-119"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.9.12-62"
}
],
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"source": "CPE_FIELD"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3213.json"
"2026-05-01T11:30:04Z"
[
{
"target": {
"file": "coders/tiff.c",
"function": "ReadTIFFImage"
},
"digest": {
"length": 23456.0,
"function_hash": "216378949900814719163079439558558651226"
},
"deprecated": false,
"id": "CVE-2022-3213-50fc44c4",
"signature_type": "Function",
"source": "https://github.com/imagemagick/imagemagick/commit/30ccf9a0da1f47161b5935a95be854fe84e6c2a2",
"signature_version": "v1"
},
{
"target": {
"file": "coders/tiff.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"281090230913588892928027020102632242636",
"165241983376441426304032410258524858762",
"200132922251946289609571443778098468502",
"71381005548935957290689701085977424271"
]
},
"deprecated": false,
"id": "CVE-2022-3213-83e37dab",
"signature_type": "Line",
"source": "https://github.com/imagemagick/imagemagick/commit/30ccf9a0da1f47161b5935a95be854fe84e6c2a2",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3213.json"
"2026-05-01T11:30:04Z"
[
{
"target": {
"file": "coders/tiff.c",
"function": "ReadTIFFImage"
},
"digest": {
"length": 23224.0,
"function_hash": "231623860395719262984512753077895358790"
},
"deprecated": false,
"id": "CVE-2022-3213-c14601ef",
"signature_type": "Function",
"source": "https://github.com/imagemagick/imagemagick6/commit/1aea203eb36409ce6903b9e41fe7cb70030e8750",
"signature_version": "v1"
},
{
"target": {
"file": "coders/tiff.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"281090230913588892928027020102632242636",
"165241983376441426304032410258524858762",
"200132922251946289609571443778098468502",
"71381005548935957290689701085977424271"
]
},
"deprecated": false,
"id": "CVE-2022-3213-fdfc0eb7",
"signature_type": "Line",
"source": "https://github.com/imagemagick/imagemagick6/commit/1aea203eb36409ce6903b9e41fe7cb70030e8750",
"signature_version": "v1"
}
]