# CVE-2023-5341: Imagemagick: heap use-after-free in coders/bmp.c

- Severity: Medium 6.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-02)
- Published: 2023-11-19T09:20:12.642Z
- Modified: 2026-11-05T11:16:36.707Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## Description

A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.

(As written by CVE List.)

## Affected

- ImageMagick: no versions given
- imagemagick imagemagick: before 7.1.2
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 38

## Every score

- redhat: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2023-5341> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2241774> (issue-tracking, patch)
- <https://github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1> (patch)
- <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/>

## Sources

- CVE List: [CVE-2023-5341](https://www.cve.org/CVERecord?id=CVE-2023-5341), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-5341](https://nvd.nist.gov/vuln/detail/CVE-2023-5341), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-5341 · Whole record: https://cve.day/CVE-2023-5341.json · Rebuilt by cve.day 2026-11-25T22:58:30.599Z
