CVE-2020-25663
ImageMagick: use-after-free, heap-buffer-overflow triggered by GetPixelRed, GetPixelBlue in MagickCore/pixel-accessor.h
Overview
Description
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: CWE-416
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | ImageMagick_jll | <7.1.0+0 | 7.1.0+0 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +5 | eol |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +1 | 6.9.10.68-6.el7_9+sp999 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick-6 | not affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-25663
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1891601
- github.com https://github.com/ImageMagick/ImageMagick/issues/1723
- github.com https://github.com/ImageMagick/ImageMagick/issues/1723#issuecomment-718275153
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-25663
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-25663
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.