What’s Vulnerable › Vulnerabilities
CVE-2023-5341: Imagemagick: heap use-after-free in coders/bmp.c
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-19 · updated 2026-06-17
- Weakness: CWE-416
Description
A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.
Affected products
- Fedoraproject Extra Packages For Enterprise Linux: 8.0
- Fedoraproject Fedora: 38
- ImageMagick: before 7.1.2 — fixed in 7.1.2
How to fix
Upgrade to a fixed version: ImageMagick 7.1.2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2023-5341
- https://bugzilla.redhat.com/show_bug.cgi?id=2241774
- https://github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1
- https://access.redhat.com/security/cve/CVE-2023-5341
- https://bugzilla.redhat.com/show_bug.cgi?id=2241774
- https://github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LICYTADFJAFPZW3Y2MKNCJIUYODPAG4L/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YAULDP3GG5KI3XITQ5XSMRSILCBZS2VK/
Get alerted when CVE-2023-5341 or the next vulnerability affects your stack