🛡️ CVE-2026-40311 — imagemagick
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below 7.1.2-19 and 6.9.13-44 contain a heap use-after-free vulnerability that can cause a crash when reading and printing values from an invalid XMP profile. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
CVE-2026-40311 is classified as CWE-416: Use After Free. Memory is used after being released, so its contents may already belong to something else.
Affected software
CVE-2026-40311 is recorded against 17 packages.
- imagemagick (from 7.0.0-0 up to 7.1.2-19)
- magick.net-q16-anycpu (fixed in 14.12.0)
- magick.net-q16-arm64 (fixed in 14.12.0)
- magick.net-q16-hdri-anycpu (fixed in 14.12.0)
- magick.net-q16-hdri-arm64 (fixed in 14.12.0)
- magick.net-q16-hdri-openmp-arm64 (fixed in 14.12.0)
- magick.net-q16-hdri-x64 (fixed in 14.12.0)
- magick.net-q16-hdri-x86 (fixed in 14.12.0)
- magick.net-q16-openmp-arm64 (fixed in 14.12.0)
- magick.net-q16-openmp-x64 (fixed in 14.12.0)
- magick.net-q16-x64 (fixed in 14.12.0)
- magick.net-q16-x86 (fixed in 14.12.0)
- magick.net-q8-anycpu (fixed in 14.12.0)
- magick.net-q8-arm64 (fixed in 14.12.0)
- magick.net-q8-openmp-arm64 (fixed in 14.12.0)
- magick.net-q8-x64 (fixed in 14.12.0)
- magick.net-q8-x86 (fixed in 14.12.0)
Timeline and source
Published on 13 April 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
References
CVE-2026-40311 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| imagemagick | 7.0.0-0 | 7.1.2-19 |
| magick.net-q16-anycpu | — | 14.12.0 |
| magick.net-q16-arm64 | — | 14.12.0 |
| magick.net-q16-hdri-anycpu | — | 14.12.0 |
| magick.net-q16-hdri-arm64 | — | 14.12.0 |
| magick.net-q16-hdri-openmp-arm64 | — | 14.12.0 |
| magick.net-q16-hdri-x64 | — | 14.12.0 |
| magick.net-q16-hdri-x86 | — | 14.12.0 |
| magick.net-q16-openmp-arm64 | — | 14.12.0 |
| magick.net-q16-openmp-x64 | — | 14.12.0 |
| magick.net-q16-x64 | — | 14.12.0 |
| magick.net-q16-x86 | — | 14.12.0 |
| magick.net-q8-anycpu | — | 14.12.0 |
| magick.net-q8-arm64 | — | 14.12.0 |
| magick.net-q8-openmp-arm64 | — | 14.12.0 |
| magick.net-q8-x64 | — | 14.12.0 |
| magick.net-q8-x86 | — | 14.12.0 |
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
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in imagemagick
CVE-2026-40311 is rated CVSS 5.5 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.