CVE-2020-27770

MEDIUM

ImageMagick < 6.9.10-68 - Denial of Service via SubstituteString Offset Overflow

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html
Exploit, Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1894691

Scores

CVSS v3 5.5
EPSS 0.0013
EPSS Percentile 31.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-190
Status published
Products (2)
debian/debian_linux 9.0
imagemagick/imagemagick < 6.9.10-68
Published Dec 04, 2020
Tracked Since Feb 18, 2026