CVE-2023-3745
Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h
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.
- Record
CVE-2023-3745- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-07
EUVDEUVD-2023-44380
5.5
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.
- Record
EUVD-2023-44380- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-07
GitHub AdvisoriesGHSA-fw7q-prfm-977f
5.5
A heap-based buffer overflow issue was found in ImageMagick's PushCharPixel() function in quantum...
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.
- Record
GHSA-fw7q-prfm-977f- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2023-3745- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-07
OSV
5.5
Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h
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.
- Record
CVE-2023-3745- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-08
OSVDEBIAN-CVE-2023-3745
5.5
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.
- Record
DEBIAN-CVE-2023-3745- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-08
Show 4 moreShow less
OSVUBUNTU-CVE-2023-3745
5.5
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.
- Record
UBUNTU-CVE-2023-3745- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2023:3186-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2023-3745: Fixed heap out of bounds read in PushCharPixel() in quantum-private.h (bsc#1213624).
- Record
SUSE-SU-2023:3186-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3357-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2023-3745: Fixed heap out of bounds read in PushCharPixel() in quantum-private.h (bsc#1213624).
- Record
SUSE-SU-2023:3357-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:4634-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
Security issues:
- CVE-2023-5341: Fixed a heap use-after-free in coders/bmp.c. (bsc#1215939)
- CVE-2020-21679: Fixed a buffer overflow in WritePCXImage function in pcx.c which may allow a remote attackers to cause a denial of service. (bsc#1214578)
- CVE-2023-3745: Fixed heap out of bounds read in PushCharPixel() in quantum-private.h (bsc#1213624).
- CVE-2023-34151: Fixed an undefined behavior issue due to floating point truncation (bsc#1211791).
- CVE-2023-1289: Fixed segmentation fault and possible DoS via specially crafted SVG. (bsc#1209141)
- CVE-2022-44268: Fixed arbitrary file disclosure when parsing a PNG image (bsc#1207983).
- CVE-2022-44267: Fixed a denial of service when parsing a PNG image (bsc#1207982).
- CVE-2022-32547: Fixed a load of misaligned address at MagickCore/property.c. (bsc#1200387)
- CVE-2022-32546: Fixed an outside the range of representable values of type. (bsc#1200389)
- CVE-2022-32545: Fixed an outside the range of representable values of type. (bsc#1200388)
- CVE-2022-28463: Fixed buffer overflow in coders/cin.c (bsc#1199350).
- CVE-2022-2719: Fixed a reachable assertion that could lead to denial of service via a crafted file (bsc#1202250).
- CVE-2022-0284: Fixed heap buffer overread in GetPixelAlpha() in MagickCore/pixel-accessor.h (bsc#1195563).
- CVE-2021-3574: Fixed memory leaks with convert command (bsc#1203212).
- CVE-2021-20313: Cipher leak when the calculating signatures in TransformSignatureof MagickCore/signature.c (bsc#1184628)
- CVE-2021-20312: Integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c (bsc#1184627)
- CVE-2021-20311: Division by zero in sRGBTransformImage() in MagickCore/colorspace.c (bsc#1184626)
- CVE-2021-20309: Division by zero in WaveImage() of MagickCore/visual-effects. (bsc#1184624)
- CVE-2021-20246: Division by zero in ScaleResampleFilter in MagickCore/resample.c (bsc#1182337).
- CVE-2021-20244: Division by zero in ImplodeImage in MagickCore/visual-effects.c (bsc#1182325).
- CVE-2021-20243: Division by zero in GetResizeFilterWeight in MagickCore/resize.c (bsc#1182336).
- CVE-2021-20241: Division by zero in WriteJP2Image() in coders/jp2.c (bsc#1182335).
- CVE-2021-20224: Fixed an integer overflow that could be triggered via a crafted file (bsc#1202800).
- CVE-2021-20176: Fixed an issue where processing a crafted file could lead to division by zero (bsc#1181836).
- CVE-2019-17540: Fixed heap-based buffer overflow in ReadPSInfo in coders/ps.c. (bsc#1153866)
Bugfixes:
- Use png_get_eXIf_1 when available (bsc#1197147).
- Record
SUSE-SU-2023:4634-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
imagemagickDebian:13 |
before 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
imagemagickDebian:14 |
before 8:6.9.11.24+dfsg-1 | 8:6.9.11.24+dfsg-1 |
ImageMagickopenSUSE:Leap 15.4 |
before 7.0.7.34-150200.10.51.1 | 7.0.7.34-150200.10.51.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 6.8.8.1-71.195.1 | 6.8.8.1-71.195.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP5 |
before 6.8.8.1-71.195.1 | 6.8.8.1-71.195.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 6.8.8.1-71.195.1 | 6.8.8.1-71.195.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 6.8.8.1-71.195.1 | 6.8.8.1-71.195.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 24 CVEs |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 24 CVEs |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 24 CVEs |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-3745 is a medium vulnerability (CVSS 5.5) in Imagemagick, published July 24, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 40th percentile. Fixed in imagemagick 8:6.9.11.24+dfsg-1.
References
access.redhat.com/security/cve/CVE-2023-3745
bugzilla.redhat.com/show_bug.cgi?id=2223557
github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7
github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304
github.com/ImageMagick/ImageMagick/issues/1857
github.com/ImageMagick/ImageMagick6/commit/7486477aa00c5c7856b111506da075b6cdfa8b73
Show 60 moreShow less
github.com/ImageMagick/ImageMagick6/commit/b466a96965afc1308a4ace93f5535c2b770f294b
nvd.nist.gov/vuln/detail/CVE-2023-3745
github.com/advisories/GHSA-fw7q-prfm-977f
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3745.json
security-tracker.debian.org/tracker/CVE-2023-3745
suse.com/support/update/announcement/2023/suse-su-20233186-1
bugzilla.suse.com/1213624
suse.com/security/cve/CVE-2023-3745
suse.com/support/update/announcement/2023/suse-su-20233357-1
suse.com/support/update/announcement/2023/suse-su-20234634-1
bugzilla.suse.com/1153866
bugzilla.suse.com/1181836
bugzilla.suse.com/1182325
bugzilla.suse.com/1182335
bugzilla.suse.com/1182336
bugzilla.suse.com/1182337
bugzilla.suse.com/1184624
bugzilla.suse.com/1184626
bugzilla.suse.com/1184627
bugzilla.suse.com/1184628
bugzilla.suse.com/1195563
bugzilla.suse.com/1197147
bugzilla.suse.com/1199350
bugzilla.suse.com/1200387
bugzilla.suse.com/1200388
bugzilla.suse.com/1200389
bugzilla.suse.com/1202250
bugzilla.suse.com/1202800
bugzilla.suse.com/1207982
bugzilla.suse.com/1207983
bugzilla.suse.com/1209141
bugzilla.suse.com/1211791
bugzilla.suse.com/1214578
bugzilla.suse.com/1215939
suse.com/security/cve/CVE-2019-17540
suse.com/security/cve/CVE-2020-21679
suse.com/security/cve/CVE-2021-20176
suse.com/security/cve/CVE-2021-20224
suse.com/security/cve/CVE-2021-20241
suse.com/security/cve/CVE-2021-20243
suse.com/security/cve/CVE-2021-20244
suse.com/security/cve/CVE-2021-20246
suse.com/security/cve/CVE-2021-20309
suse.com/security/cve/CVE-2021-20311
suse.com/security/cve/CVE-2021-20312
suse.com/security/cve/CVE-2021-20313
suse.com/security/cve/CVE-2022-0284
suse.com/security/cve/CVE-2022-2719
suse.com/security/cve/CVE-2022-28463
suse.com/security/cve/CVE-2022-32545
suse.com/security/cve/CVE-2022-32546
suse.com/security/cve/CVE-2022-32547
suse.com/security/cve/CVE-2022-44267
suse.com/security/cve/CVE-2022-44268
suse.com/security/cve/CVE-2023-1289
suse.com/security/cve/CVE-2023-34151
suse.com/security/cve/CVE-2023-5341
ubuntu.com/security/CVE-2023-3745
cve.org/CVERecord?id=CVE-2023-3745