ImageMagick is free and open-source software used for editing and manipulating digital images.
A heap out-of-bounds read vulnerability exists in ImageMagick's coders/dcm.c module prior to versions 7.1.2-15 and 6.9.13-40. This flaw occurs when processing DICOM files with a specific configuration, causing the decoder loop to read past the allocated buffer. The vulnerability can lead to Denial of Service (application crash) or Information Disclosure (leaking heap memory). Fixed versions 7.1.2-15 and 6.9.13-40 contain patches addressing this issue.
AI Analysis
Technical Summary
ImageMagick versions prior to 7.1.2-15 and 6.9.13-40 have a heap out-of-bounds read vulnerability in the coders/dcm.c module. The vulnerability arises from incorrect byte reading per iteration in the decoder loop when processing DICOM files under certain configurations, resulting in reads beyond the allocated buffer. This can cause application crashes or leak heap memory contents into processed images. The issue is patched in versions 7.1.2-15 and 6.9.13-40.
Potential Impact
Successful exploitation can cause Denial of Service by crashing the ImageMagick process or lead to Information Disclosure by leaking heap memory contents into the output image. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
Upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40 or later, which contain patches for this vulnerability. No other mitigation is indicated by the vendor advisory.
ImageMagick is free and open-source software used for editing and manipulating digital images.
Description
A heap out-of-bounds read vulnerability exists in ImageMagick's coders/dcm.c module prior to versions 7.1.2-15 and 6.9.13-40. This flaw occurs when processing DICOM files with a specific configuration, causing the decoder loop to read past the allocated buffer. The vulnerability can lead to Denial of Service (application crash) or Information Disclosure (leaking heap memory). Fixed versions 7.1.2-15 and 6.9.13-40 contain patches addressing this issue.
CVSS v3.1
Score 6.5medium
Affected software
pkg:deb/ubuntu/imagemagick@8:7.1.2.3+dfsg1-1ubuntu0.1?arch=source&distro=questingRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ImageMagick versions prior to 7.1.2-15 and 6.9.13-40 have a heap out-of-bounds read vulnerability in the coders/dcm.c module. The vulnerability arises from incorrect byte reading per iteration in the decoder loop when processing DICOM files under certain configurations, resulting in reads beyond the allocated buffer. This can cause application crashes or leak heap memory contents into processed images. The issue is patched in versions 7.1.2-15 and 6.9.13-40.
Potential Impact
Successful exploitation can cause Denial of Service by crashing the ImageMagick process or lead to Information Disclosure by leaking heap memory contents into the output image. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
Upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40 or later, which contain patches for this vulnerability. No other mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-25982
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:25.10"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a600ab19c2644c7f8fe1c73
Added to database: 07/22/2026, 00:11:29 UTC
Last enriched: 07/22/2026, 00:45:52 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.