CVE-2020-25664
Last modified
CVE-2020-25664 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds write later when PopShortPixel() from MagickCore/quantum-private.h is called. The patch fixes the calls by adding 256 to rowbytes. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
Description
In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds write later when PopShortPixel() from MagickCore/quantum-private.h is called. The patch fixes the calls by adding 256 to rowbytes. An attacker who is able to supply a specially crafted image could affect availability with a low impact to data integrity. This flaw affects ImageMagick versions prior to 6.9.10-68 and 7.0.8-68.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.10-68 |
| Imagemagick | Imagemagick | >= 7.0.8, < 7.0.8-68 |
| Fedoraproject | Fedora | 34 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1891605Exploit, Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1891605Exploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-25664?
How severe is CVE-2020-25664?
How do I fix CVE-2020-25664?
Are you affected by CVE-2020-25664?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
