---
id: CVE-2023-3745
title: 'Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h'
summary: >-
  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 …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: Red Hat
product: ImageMagick
affected:
  - ImageMagick
  - ImageMagick
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-04-25T13:40:47.945959Z'
published: '2023-07-24'
updated: '2026-11-07'
sourceUpdated: '2026-11-07T11:31:57.045Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-3745'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2023-3745'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2223557'
    label: RHBZ#2223557
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7
  - url: >-
      https://github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304
  - url: 'https://github.com/ImageMagick/ImageMagick/issues/1857'
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/7486477aa00c5c7856b111506da075b6cdfa8b73
  - url: >-
      https://github.com/ImageMagick/ImageMagick6/commit/b466a96965afc1308a4ace93f5535c2b770f294b
tags:
  - cve.org
epss: 0.00463
epssPercentile: 0.40398
ingestedAt: '2026-11-07T12:16:41.117Z'
---

## Overview

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

- `ImageMagick`
- `ImageMagick`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
