CVE-2023-5341 json
Imagemagick: heap use-after-free in coders/bmp.c
published 2023-11-19 2 y ago modified 2026-11-05 3 d ago also EUVD-2023-57658 , JLSEC-2026-912
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.
Patch / fix
- julia ImageMagick_jll 7.1.2001+0
- imagemagick imagemagick 7.1.2
- imagemagick Debian 12 8:6.9.11.60+dfsg-1.6+deb12u1
- imagemagick Debian 14, Debian 13 8:6.9.12.98+dfsg1-2
debian advisories DEBIAN-CVE-2023-5341
- imagemagick Ubuntu Pro 14.04 LTS 8:6.7.7.10-6ubuntu3.13+esm7
- imagemagick Ubuntu Pro 16.04 LTS 8:6.8.9.9-7ubuntu5.16+esm10
- imagemagick Ubuntu Pro 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.15+esm3
- imagemagick Ubuntu Pro 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu11.9+esm2
- imagemagick Ubuntu Pro 22.04 LTS 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm3
ubuntu advisories UBUNTU-CVE-2023-5341
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, SLE Module for Desktop Applications 15 SP5 +3 more 7.1.0.9-150400.6.27.1
- ImageMagick SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 6.8.8.1-71.201.1
- ImageMagick openSUSE Leap 15.4 7.0.7.34-150200.10.57.1
- ImageMagick SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 7.0.7.34-150000.3.123.1
suse advisories SUSE-SU-2023:4634-1SUSE-SU-2023:4050-1SUSE-SU-2023:4049-1SUSE-SU-2023:4008-1
- ImageMagick openSUSE Tumbleweed 7.1.1.19-1.1
opensuse advisories openSUSE-SU-2024:13298-1
- imagemagick Alpine 3.18 7.1.1.13-r1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 7.1.1.21-r0
alpine advisories ALPINE-CVE-2023-5341
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5341 updated cvss 6.2
ImageMagick: Heap use-after-free in coders/bmp.c
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | ImageMagick_jll | <7.1.2001+0 |
7.1.2001+0 |
Affected products
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1
patch, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2241774
issue-tracking, patch, web
-
access.redhat.com
/security/cve/CVE-2023-5341
vdb-entry, vendor-advisory, web
-
lists.debian.org
/debian-lts-announce/2024/02/msg00007.html
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LICYTADFJAFPZW3Y2MKNCJIUYODPAG4L/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YAULDP3GG5KI3XITQ5XSMRSILCBZS2VK/
web
Sources
- CVE List CVE-2023-5341
- NVD CVE-2023-5341
- OSV JLSEC-2026-912
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.