🛡️ CVE-2026-25796 — imagemagick
Description
ImageMagick has memory leak of watermark Image object in ReadSTEGANOImage on multiple error/early-return paths
Summary
In ReadSTEGANOImage() (coders/stegano.c), the watermark Image object is not freed on three early-return paths, resulting in a definite memory leak (~13.5KB+ per invocation) that can be exploited for denial of service.
```
Direct leak of 13512 byte(s) in 1 object(s) allocated from:
#0 0x7f5c11e27887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x55cdc38f65c4 in AcquireMagickMemory MagickCore/memory.c:536
#2 0x55cdc38f65eb in AcquireCriticalMemory MagickCore/memory.c:612
#3 0x55cdc3899e91 in AcquireImage MagickCore/image.c:154
```
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.
Weakness class
CVE-2026-25796 is classified as CWE-401: Memory Leak. Allocated memory is never released, so long-running or repeated operations gradually exhaust it.
Affected software
CVE-2026-25796 is recorded against 19 packages.
- imagemagick (from 7.0.0-0 up to 7.1.2-15)
- magick.net-q16-anycpu (fixed in 14.10.3)
- magick.net-q16-arm64 (fixed in 14.10.3)
- magick.net-q16-hdri-anycpu (fixed in 14.10.3)
- magick.net-q16-hdri-arm64 (fixed in 14.10.3)
- magick.net-q16-hdri-openmp-arm64 (fixed in 14.10.3)
- magick.net-q16-hdri-openmp-x64 (fixed in 14.10.3)
- magick.net-q16-hdri-x64 (fixed in 14.10.3)
- magick.net-q16-hdri-x86 (fixed in 14.10.3)
- magick.net-q16-openmp-arm64 (fixed in 14.10.3)
- magick.net-q16-openmp-x64 (fixed in 14.10.3)
- magick.net-q16-openmp-x86 (fixed in 14.10.3)
- magick.net-q16-x64 (fixed in 14.10.3)
- magick.net-q16-x86 (fixed in 14.10.3)
- magick.net-q8-anycpu (fixed in 14.10.3)
- magick.net-q8-arm64 (fixed in 14.10.3)
- magick.net-q8-openmp-arm64 (fixed in 14.10.3)
- magick.net-q8-x64 (fixed in 14.10.3)
- magick.net-q8-x86 (fixed in 14.10.3)
Timeline and source
Published on 24 February 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
CVE-2026-25796 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| imagemagick | 7.0.0-0 | 7.1.2-15 |
| magick.net-q16-anycpu | — | 14.10.3 |
| magick.net-q16-arm64 | — | 14.10.3 |
| magick.net-q16-hdri-anycpu | — | 14.10.3 |
| magick.net-q16-hdri-arm64 | — | 14.10.3 |
| magick.net-q16-hdri-openmp-arm64 | — | 14.10.3 |
| magick.net-q16-hdri-openmp-x64 | — | 14.10.3 |
| magick.net-q16-hdri-x64 | — | 14.10.3 |
| magick.net-q16-hdri-x86 | — | 14.10.3 |
| magick.net-q16-openmp-arm64 | — | 14.10.3 |
| magick.net-q16-openmp-x64 | — | 14.10.3 |
| magick.net-q16-openmp-x86 | — | 14.10.3 |
| magick.net-q16-x64 | — | 14.10.3 |
| magick.net-q16-x86 | — | 14.10.3 |
| magick.net-q8-anycpu | — | 14.10.3 |
| magick.net-q8-arm64 | — | 14.10.3 |
| magick.net-q8-openmp-arm64 | — | 14.10.3 |
| magick.net-q8-x64 | — | 14.10.3 |
| magick.net-q8-x86 | — | 14.10.3 |
References
Similar Threats
- Unknown CGA-277q-7x66-ff6r
- Unknown CGA-2fmh-228q-9q75
- Unknown CGA-2jh8-8cjh-4mw5
- Unknown CGA-34wv-76rm-hqjq
- Unknown CGA-3958-9cqj-j9w6
Vulnerability Monitoring
Track new vulnerabilities in imagemagick
CVE-2026-25796 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.