Vulnerability · Published Nov 19, 2023 · Assigned by redhat
CVE-2023-5341Imagemagick: heap use-after-free in coders/bmp.c
Medium 6.2
In plain English
A medium-severity use-after-free in Red Hat Enterprise Linux 6 from Red Hat. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.5%top 58.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.1.1.21-r0 | ALPINE-CVE-2023-5341 |
| Alpine:v3.21 | imagemagick | 7.1.1.21-r0 | ALPINE-CVE-2023-5341 |
| Alpine:v3.22 | imagemagick | 7.1.1.21-r0 | ALPINE-CVE-2023-5341 |
| Alpine:v3.23 | imagemagick | 7.1.1.21-r0 | ALPINE-CVE-2023-5341 |
| Alpine:v3.24 | imagemagick | 7.1.1.21-r0 | ALPINE-CVE-2023-5341 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u1 | DEBIAN-CVE-2023-5341 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u1 | DSA-5628-1 |
| Debian:13 | imagemagick | 8:6.9.12.98+dfsg1-2 | DEBIAN-CVE-2023-5341 |
| Debian:14 | imagemagick | 8:6.9.12.98+dfsg1-2 | DEBIAN-CVE-2023-5341 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2023-5341 vdb-entry, x_refsource_REDHAT
- RHBZ#2241774 issue-tracking, x_refsource_REDHAT
- https://github.com/ImageMagick/ImageMagick/commit/aa673b2e4defc7cad5bec16c4fc8324f71e531f1
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LICYTADFJAFPZW3Y2MKNCJIUYODPAG4L/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YAULDP3GG5KI3XITQ5XSMRSILCBZS2VK/ x_transferred