Imagemagick: heap use-after-free in coders/bmp.c

Summary

CVECVE-2023-5341
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-19 10:15:49 UTC
Updated2026-11-05 11:16:36 UTC
DescriptionA heap use-after-free flaw was found in coders/bmp.c in ImageMagick.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-416 | CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary6.2MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS6.2MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Fedoraproject Extra Packages For Enterprise Linux 8.0 All All All
Operating System Fedoraproject Fedora 38 All All All
Application Imagemagick Imagemagick All All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 39 Update: ImageMagick-7.1.1.26-2.fc39 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 38 Update: ImageMagick-7.1.1.26-2.fc38 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc832... af854a3a-2127-422b-91ae-364da2661108 github.com Patch
lists.debian.org/debian-lts-announce/2024/02/msg00007.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch
access.redhat.com/security/cve/CVE-2023-5341 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Hardik shah of Vehere (Dawn Treaders team) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-10-02T00:00:00.000ZReported to Red Hat.
CNA2023-10-02T00:00:00.000ZMade public.

Legacy QID Mappings

  • 200093 Ubuntu Security Notification for ImageMagick Vulnerability (USN-6621-1)
  • 284877 Fedora Security Update for ImageMagick (FEDORA-2024-d23b0f5e76)
  • 285040 Fedora Security Update for ImageMagick (FEDORA-2024-6f8c1d9005)
  • 356425 Amazon Linux Security Advisory for ImageMagick : ALAS2-2023-2289
  • 356450 Amazon Linux Security Advisory for ImageMagick : ALAS-2023-1856
  • 356534 Amazon Linux Security Advisory for ImageMagick : ALAS2023-2023-379
  • 503546 Alpine Linux Security Update for imagemagick
  • 506100 Alpine Linux Security Update for imagemagick
  • 6000485 Debian Security Update for imagemagick (DLA 3737-1)
  • 6000487 Debian Security Update for imagemagick (DSA 5628-1)
  • 755050 SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2023:4008-1)
  • 755074 SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2023:4050-1)
  • 755075 SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2023:4049-1)
  • 755464 SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2023:4634-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report