CVE-2020-25666: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2020-25666 is a medium (CVSS 4.3) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 68.6% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 08-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
There are 4 places in HistogramCompare() in MagickCore/histogram.c where an integer overflow is possible during simple math calculations. This occurs in the rgb values and `count` value for a color. The patch uses casts to `ssize_t` type for these calculations, instead of `int`. This flaw could impact application reliability in the event that ImageMagick processes a crafted input file. This flaw affects ImageMagick versions prior to 7.0.9-0.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- NVDNIST3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.18% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- imagemagick< 8:6.9.11.24+dfsg-1
- debian_linuxEOL9.0
Imagemagick1 product
- imagemagick< 6.9.10-69 | ≥ 7.0.0-0, < 7.0.9-0
Ubuntu1 product
- imagemagick< 8:6.8.9.9-7ubuntu5.16+esm11 | < 8:6.9.7.4+dfsg-16ubuntu6.11 | < 8:6.9.10.23+dfsg-2.1ubuntu11.4
3 vendors · 4 products