The PALM image coder at coders/palm.c makes an improper call to AcquireQuantumMemory() in routine WritePALMImage() because it needs to be offset by 256. This can cause a out-of-bounds read later on in the routine. The patch adds 256 to bytes_per_row in the call to AcquireQuantumMemory(). This could cause impact to reliability. This flaw affects ImageMagick versions prior to 7.0.8-68.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Modified"
},
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-25665",
"id": "CVE-2020-25665",
"imported": "2026-07-30T14:08:42.198Z",
"modified": "2026-06-17T03:07:05.273Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25665",
"published": "2020-12-08T21:15:12.560Z"
}
]
}