Imagemagick: heap use-after-free in coders/bmp.c
Summary
| CVE | CVE-2023-5341 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-19 10:15:49 UTC |
| Updated | 2026-11-05 11:16:36 UTC |
| Description | A 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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 6.2 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 6.2 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| [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
| Source | Time | Event |
|---|---|---|
| CNA | 2023-10-02T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-10-02T00:00:00.000Z | Made 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)