CVE-2023-5341
Imagemagick: heap use-after-free in coders/bmp.c
02 Description
Imagemagick: heap use-after-free in coders/bmp.c
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.47% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 40.9% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-11-19 09:20Z2 YR AGO
- Last updated
- 2025-11-20 17:58Z11 MO AGO
- Reserved
- 2023-10-02
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.2)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 81af723cdc393879c914245c8213d337d3c1eeda217491083a7f0682cea413cb
05 Affected products
06 References
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2023-5341
- bugzilla.redhat.comRHBZ#2241774https://bugzilla.redhat.com/show_bug.cgi?id=2241774
- github.comhttps://github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/02/msg00007.html
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LICYTADFJAFPZW3Y2MKNCJIUYODPAG4L/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YAULDP3GG5KI3XITQ5XSMRSILCBZS2VK/
07 Fixed in
Debian 12
- imagemagick Fixed in 8:6.9.11.60+dfsg-1.6+deb12u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- imagemagick Fixed in 8:6.9.12.98+dfsg1-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- imagemagick Fixed in 8:6.9.12.98+dfsg1-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- imagemagick Fixed in 8:6.7.7.10-6ubuntu3.13+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- imagemagick Fixed in 8:6.8.9.9-7ubuntu5.16+esm10Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- imagemagick Fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- imagemagick Fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.9+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- imagemagick Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm3Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.