5.5

CVE-2020-25674: debian debian_linux Heap-based Buffer Overflow

CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2020-25674DEBIAN-CVE-2020-25674
Published 08-12-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-25674 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 63% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 10 · Related 8

Timeline

  1. 08-12-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.03%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

0.00 pp

From 1.03% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.03%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.redhat.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Imagemagick1 product
Ubuntu1 product
  • imagemagick< 8:6.8.9.9-7ubuntu5.16+esm2 | < 8:6.9.7.4+dfsg-16ubuntu6.11 | < 8:6.9.10.23+dfsg-2.1ubuntu11.4

3 vendors · 4 products

References

9 links