ubuntu-cve-2026-25982
Vulnerability from osv_ubuntu
Published
2026-02-24 02:16
Modified
2026-07-21 21:02
Summary
Details
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap out-of-bounds read vulnerability exists in the coders/dcm.c module. When processing DICOM files with a specific configuration, the decoder loop incorrectly reads bytes per iteration. This causes the function to read past the end of the allocated buffer, potentially leading to a Denial of Service (crash) or Information Disclosure (leaking heap memory into the image). Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Severity
6.5 (Medium)
6.5 (Medium)
N/A (UNKNOWN)
References
{
"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"
]
}
],
"aliases": [],
"details": "ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap out-of-bounds read vulnerability exists in the `coders/dcm.c` module. When processing DICOM files with a specific configuration, the decoder loop incorrectly reads bytes per iteration. This causes the function to read past the end of the allocated buffer, potentially leading to a Denial of Service (crash) or Information Disclosure (leaking heap memory into the image). Versions 7.1.2-15 and 6.9.13-40 contain a patch.",
"id": "UBUNTU-CVE-2026-25982",
"modified": "2026-07-21T21:02:23Z",
"published": "2026-02-24T02:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-25982"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-25982"
},
{
"type": "REPORT",
"url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-25982"
]
}
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…