Security advisory
A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-25663
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:53 UTC · Revision 1
Source evidence
A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.
osv:CVE-2020-25663
Complete source record
{
"id": "5a8028e821687316a986116cbd3e0df05a4fe89f35aa908df1707a18bd3d7319",
"url": "https://osv.dev/vulnerability/CVE-2020-25663",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-25663",
"summary": "A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.",
"evidence": "osv:CVE-2020-25663",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-25663",
"aliases": [
"CVE-2020-25663"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/imagemagick/imagemagick",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e105c38ac3e94f458873eee1598d9a11bdca13b8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.0.8-56"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.0.8-55",
"7.0.8-54",
"7.0.8-53",
"7.0.8-52",
"7.0.8-51",
"7.0.8-50",
"7.0.8-49",
"7.0.8-48",
"7.0.8-47",
"7.0.8-46",
"7.0.8-45",
"7.0.8-44",
"7.0.8-43",
"7.0.8-42",
"7.0.8-41",
"7.0.8-40",
"7.0.8-39",
"7.0.8-38",
"7.0.8-37",
"7.0.8-36",
"7.0.8-35",
"7.0.8-34",
"7.0.8-33",
"7.0.8-32",
"7.0.8-31",
"7.0.8-30",
"7.0.8-29",
"7.0.8-28",
"7.0.8-27",
"7.0.8-26",
"7.0.8-25",
"7.0.8-24",
"7.0.8-23",
"7.0.8-22",
"7.0.8-21",
"7.0.8-20",
"7.0.8-19",
"7.0.8-18",
"7.0.8-17",
"7.0.8-16",
"7.0.8-15",
"7.0.8-14",
"7.0.8-13",
"7.0.8-12",
"7.0.8-11",
"7.0.8-10",
"7.0.8-9",
"7.0.8-8",
"7.0.8-7",
"7.0.8-6",
"7.0.8-5",
"7.0.8-4",
"7.0.8-3",
"7.0.8-2",
"7.0.8-1",
"7.0.8-0",
"7.0.7-39",
"7.0.7-38",
"7.0.7-37",
"7.0.7-36",
"7.0.7-35",
"7.0.7-34",
"7.0.7-33",
"7.0.7-32",
"7.0.7-31",
"7.0.7-30",
"7.0.7-29",
"7.0.7-28",
"7.0.7-27",
"7.0.7-26",
"7.0.7-25",
"7.0.7-24",
"7.0.7-23",
"7.0.7-22",
"7.0.7-21",
"7.0.7-20",
"7.0.7-19",
"7.0.7-18",
"7.0.7-17",
"7.0.7-16",
"7.0.7-15",
"7.0.7-14",
"7.0.7-13",
"7.0.7-12",
"7.0.7-11",
"7.0.7-10",
"7.0.7-9",
"7.0.7-8",
"7.0.7.7",
"7.0.7-6",
"7.0.7-5",
"7.0.7-4",
"7.0.7-3",
"7.0.7-2",
"7.0.7-1",
"7.0.7-0",
"7.0.6-9",
"7.0.6-8",
"7.0.6-7",
"7.0.6-6",
"7.0.6-5",
"7.0.6-4",
"7.0.6-3",
"7.0.6-2",
"7.0.6-1",
"7.0.6-0",
"7.0.5-10",
"7.0.5-9",
"7.0.5-8",
"7.0.5-7",
"7.0.5-6",
"7.0.5-5",
"7.0.5-4",
"7.0.5-3",
"7.0.5-2",
"7.0.5-1",
"7.0.5-0",
"7.0.4-10",
"7.0.4-9",
"7.0.4-8",
"7.0.4-7",
"7.0.4-6",
"7.0.4-5",
"7.0.4-4",
"7.0.4-3",
"7.0.4-2",
"7.0.4-1",
"7.0.4-0",
"7.0.3-10",
"7.0.3-9",
"7.0.3-8",
"7.0.3-7",
"7.0.3-6",
"7.0.3-5",
"7.0.3-4",
"7.0.3-3",
"7.0.3-2",
"7.0.3-1",
"7.0.3-0",
"7.0.2-10",
"7.0.2-9",
"7.0.2-8",
"7.0.2-7",
"7.0.2-6",
"7.0.2-5",
"7.0.2-4",
"7.0.2-3",
"7.0.2-2",
"7.0.2-1",
"7.0.2-0",
"7.0.1-10",
"7.0.1-9",
"7.0.1-8",
"7.0.1-7",
"7.0.1-6",
"7.0.1-5",
"7.0.1-4",
"7.0.1-3",
"7.0.1-2",
"7.0.1-1",
"7.0.1-0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25663.json"
}
}
],
"modified": "2026-10-24T10:50:38.498078587Z",
"provider": "osv",
"references": [
"https://github.com/ImageMagick/ImageMagick/issues/1723#issuecomment-718275153",
"https://bugzilla.redhat.com/show_bug.cgi?id=1891601",
"https://github.com/ImageMagick/ImageMagick/issues/1723"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
],
"vendor_product": "imagemagick:imagemagick",
"extracted_events": [
{
"range": [
{
"fixed": "7.0.8-56"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-25663",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442380,
"published_at": "2020-12-08T21:15:12.42+00:00"
}