Vulnerability · Published Jul 24, 2023 · Assigned by redhat
CVE-2023-3745Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h
Medium 5.5
In plain English
A medium-severity out-of-bounds read in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A heap-based buffer overflow issue was found in ImageMagick's PushCharPixel() function in quantum-private.h. This issue may allow a local attacker to trick the user into opening a specially crafted file, triggering an out-of-bounds read error and allowing an application to crash, resulting in a denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | imagemagick | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2023-3745 |
| Debian:13 | imagemagick | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2023-3745 |
| Debian:14 | imagemagick | 8:6.9.11.24+dfsg-1 | DEBIAN-CVE-2023-3745 |
| Ubuntu:22.04:LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3 | UBUNTU-CVE-2023-3745 |
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-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2023-3745 vdb-entry, x_refsource_REDHAT
- RHBZ#2223557 issue-tracking, x_refsource_REDHAT
- https://github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7
- https://github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304
- https://github.com/ImageMagick/ImageMagick/issues/1857
- https://github.com/ImageMagick/ImageMagick6/commit/7486477aa00c5c7856b111506da075b6cdfa8b73
- https://github.com/ImageMagick/ImageMagick6/commit/b466a96965afc1308a4ace93f5535c2b770f294b