ImageMagick: unsigned offset overflowed at MagickCore/string.c
Published Dec 4, 2020
5.5
MEDIUMCVSS 3.1
EPSS 1.15%
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.
Affected products
- Vendor n/a Product ImageMagick Defaultn/a
- Version ImageMagick 7.0.8-68StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | ImageMagick | n/a |
|
Configuration 1
- < 6.9.10-68
- ≥ 7.0.0-0 · < 7.0.8-68
Configuration 2
- 9.0
No data.
Red Hat Enterprise Linux 5
ImageMagick
Out of support scope
Red Hat Enterprise Linux 6
ImageMagick
Out of support scope
Red Hat Enterprise Linux 7
ImageMagick
Out of support scope
Red Hat Enterprise Linux 8
inkscape
Not affected
Red Hat Enterprise Linux 9
ImageMagick
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | inkscape | Not affected | n/a |
| Red Hat Enterprise Linux 9 | ImageMagick | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw is out of support scope for Red Hat Enterprise Linux 5, 6, and 7. Inkscape is not affected because it no longer uses a bundled ImageMagick in Red Hat Enterprise Linux 8. For more information regarding support scopes, please see https://access.redhat.com/support/policy/updates/errata .
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.15% (0.01147) | 65.60th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.15% (0.01147) | 65.36th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.08% (0.00080) | 35.00th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.08% (0.00080) | 33.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00055) | 20.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.46% (0.06457) | 78.03th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v1 |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Jan 5, 2022 | 0.62% (0.00624) | 46.35th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2020-27770 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1894691 ExploitIssue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2020-27770
- https://www.cve.org/CVERecord?id=CVE-2020-27770
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2020-27770 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1894691 | ExploitIssue TrackingPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html | mailing-listMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html | mailing-list | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-27770 | ||
| https://www.cve.org/CVERecord?id=CVE-2020-27770 |
Change history (0)
No recorded changes yet.