ubuntu-cve-2025-62594
Vulnerability from osv_ubuntu
Published
2025-10-27 20:15
Modified
2026-05-20 15:22
Summary
Details
ImageMagick is a software suite to create, edit, compose, or convert bitmap images. ImageMagick versions prior to 7.1.2-8 are vulnerable to denial-of-service due to unsigned integer underflow and division-by-zero in the CLAHEImage function. When tile width or height is zero, unsigned underflow occurs in pointer arithmetic, leading to out-of-bounds memory access, and division-by-zero causes immediate crashes. This issue has been patched in version 7.1.2-8.
Severity
4.7 (Medium)
5.5 (Medium)
N/A (UNKNOWN)
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "imagemagick",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "imagemagick-7-common",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "imagemagick-7.q16",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "imagemagick-7.q16hdri",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libimage-magick-perl",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libimage-magick-q16-perl",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libimage-magick-q16hdri-perl",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagick++-7-headers",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagick++-7.q16-5",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagick++-7.q16hdri-5",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7-arch-config",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7-headers",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7.q16-10",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7.q16-10-extra",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7.q16hdri-10",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickcore-7.q16hdri-10-extra",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickwand-7-headers",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickwand-7.q16-10",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "libmagickwand-7.q16hdri-10",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
},
{
"binary_name": "perlmagick",
"binary_version": "8:7.1.2.3+dfsg1-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "imagemagick",
"purl": "pkg:deb/ubuntu/imagemagick@8:7.1.2.3+dfsg1-1ubuntu0.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8:7.1.1.43+dfsg1-1",
"8:7.1.1.43+dfsg1-1ubuntu1",
"8:7.1.1.43+dfsg1-1ubuntu2",
"8:7.1.2.3+dfsg1-1",
"8:7.1.2.3+dfsg1-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "imagemagick",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "imagemagick-7-common",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "imagemagick-7.q16",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "imagemagick-7.q16hdri",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libimage-magick-perl",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libimage-magick-q16-perl",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libimage-magick-q16hdri-perl",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagick++-7-headers",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagick++-7.q16-5",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagick++-7.q16hdri-5",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7-arch-config",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7-headers",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7.q16-10",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7.q16-10-extra",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7.q16hdri-10",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickcore-7.q16hdri-10-extra",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickwand-7-headers",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickwand-7.q16-10",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "libmagickwand-7.q16hdri-10",
"binary_version": "8:7.1.2.8+dfsg1-1"
},
{
"binary_name": "perlmagick",
"binary_version": "8:7.1.2.8+dfsg1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "imagemagick",
"purl": "pkg:deb/ubuntu/imagemagick@8:7.1.2.8+dfsg1-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8:7.1.2.8+dfsg1-1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8:7.1.2.3+dfsg1-1"
]
}
],
"aliases": [],
"details": "ImageMagick is a software suite to create, edit, compose, or convert bitmap images. ImageMagick versions prior to 7.1.2-8 are vulnerable to denial-of-service due to unsigned integer underflow and division-by-zero in the CLAHEImage function. When tile width or height is zero, unsigned underflow occurs in pointer arithmetic, leading to out-of-bounds memory access, and division-by-zero causes immediate crashes. This issue has been patched in version 7.1.2-8.",
"id": "UBUNTU-CVE-2025-62594",
"modified": "2026-05-20T15:22:57Z",
"published": "2025-10-27T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-62594"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-62594"
},
{
"type": "REPORT",
"url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-wpp4-vqfq-v4hp"
},
{
"type": "REPORT",
"url": "https://github.com/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129"
},
{
"type": "REPORT",
"url": "https://github.com/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-62594"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…