Search for vulnerabilities
Vulnerability details: VCID-ctza-8s12-gfc5
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
Weaknesses (2)
System Score Found at
cvssv3 5.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-25674.json
epss 0.0018 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.0018 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.0018 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2020-25674
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 4.3 https://nvd.nist.gov/vuln/detail/CVE-2020-25674
cvssv3.1 5.5 https://nvd.nist.gov/vuln/detail/CVE-2020-25674
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-25674.json
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

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
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

Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2020-25674
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

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2020-25674
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

Exploit Prediction Scoring System (EPSS)
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