What’s Vulnerable › Vulnerabilities
CVE-2023-3745: Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-07-24 · updated 2026-06-17
- Weakness: CWE-125
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 products
- ImageMagick: from 6.0 before 6.9-11-0; from 7.0.0-0 before 7.0.10-0 — fixed in 6.9-11-0, 7.0.10-0
How to fix
Upgrade to a fixed version: ImageMagick 6.9-11-0, 7.0.10-0. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2023-3745
- https://bugzilla.redhat.com/show_bug.cgi?id=2223557
- 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
- https://access.redhat.com/security/cve/CVE-2023-3745
- https://bugzilla.redhat.com/show_bug.cgi?id=2223557
- https://github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7
- https://github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304
- https://github.com/ImageMagick/ImageMagick/issues/1857
Get alerted when CVE-2023-3745 or the next vulnerability affects your stack