{"id":"CVE-2020-27770","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Due to a missing check for 0 value of `replace_extent`, it is possible for offset `p` to overflow in SubstituteString()…","description":"Due to a missing check for 0 value of `replace_extent`, it is possible for offset `p` to overflow in SubstituteString(), causing potential impact to application availability. This could be triggered by a crafted input file that is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.","ai_summary":null,"severity":"medium","cvss":{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":5.5,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-190"],"remote":false,"remote_unauth":false,"epss":{"score":0.01147,"percentile":0.6657,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"ImageMagick","versions":"ImageMagick 7.0.8-68","source":"cvelist"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1894691","kind":"exploit"},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html","kind":"other"}],"workarounds":null,"vendors":["debian","imagemagick"],"products":["debian_linux","imagemagick"],"cpes":["cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"published_at":"2020-12-04T00:00:00.000Z","modified_at":"2026-06-17T03:09:36.677Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27770"}],"links":{"html":"https://flawdb.com/CVE-2020-27770","markdown":"https://flawdb.com/CVE-2020-27770.md","json":"https://flawdb.com/api/v1/entries/CVE-2020-27770"}}