Search for vulnerabilities
Vulnerability ID | VCID-ctza-8s12-gfc5 |
Aliases |
CVE-2020-25674
|
Summary | WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an improper exit condition that can allow an out-of-bounds READ via heap-buffer-overflow. This occurs because it is possible for the colormap to have less than 256 valid values but the loop condition will loop 256 times, attempting to pass invalid colormap data to the event logger. The patch replaces the hardcoded 256 value with a call to MagickMin() to ensure the proper value is used. This could impact application availability when a specially crafted input file is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68. |
Status | Published |
Exploitability | 0.5 |
Weighted Severity | 5.0 |
Risk | 2.5 |
Affected and Fixed Packages | Package Details |
CWE-122 | Heap-based Buffer Overflow |
CWE-125 | Out-of-bounds Read |
Reference id | Reference type | URL |
---|---|---|
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-25674.json | ||
https://api.first.org/data/v1/epss?cve=CVE-2020-25674 | ||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25674 | ||
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml | ||
https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html | ||
1891928 | https://bugzilla.redhat.com/show_bug.cgi?id=1891928 | |
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | |
CVE-2020-25674 | https://nvd.nist.gov/vuln/detail/CVE-2020-25674 | |
USN-4988-1 | https://usn.ubuntu.com/4988-1/ | |
USN-5335-1 | https://usn.ubuntu.com/5335-1/ | |
USN-7068-1 | https://usn.ubuntu.com/7068-1/ |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Exploitability (E) | Access Vector (AV) | Access Complexity (AC) | Authentication (Au) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|
high functional unproven proof_of_concept not_defined |
local adjacent_network network |
high medium low |
multiple single none |
none partial complete |
none partial complete |
none partial complete |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Percentile | 0.40055 |
EPSS Score | 0.0018 |
Published At | July 30, 2025, 12:55 p.m. |
Date | Actor | Action | Source | VulnerableCode Version |
---|---|---|---|---|
2025-07-31T08:34:28.014885+00:00 | Ubuntu USN Importer | Import | https://usn.ubuntu.com/4988-1/ | 37.0.0 |