SecurityContext

CVE-2023-3745: ImageMagick - Heap Buffer Overflow

  • Cve: CVE-2023-3745
  • Name: ImageMagick - Heap Buffer Overflow
  • 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.
  • Impact: Attackers can cause application crashes leading to denial of service, potentially affecting system availability.
  • Remediation: Update to the latest version of ImageMagick where this issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00463
  • Epss percentile: 0.40957
  • Assignee: [email protected]
  • Published at: 2023-07-24T16:15:13Z
  • Age in days: 1219
  • Modified at: 2026-11-07T12:17:32Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-3745
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/ImageMagick/ImageMagick/issues/1857nvd2023-07-24

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7Patch
https://github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304Patch
https://github.com/ImageMagick/ImageMagick6/commit/7486477aa00c5c7856b111506da075b6cdfa8b73Patch
https://github.com/ImageMagick/ImageMagick6/commit/b466a96965afc1308a4ace93f5535c2b770f294bPatch
https://github.com/ImageMagick/ImageMagick/issues/1857Exploit, Issue Tracking
https://access.redhat.com/security/cve/CVE-2023-3745Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2223557Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
imagemagick:imagemagick>= 6.0, < 6.9-11-0; >= 7.0.0-0, < 7.0.10-0nonvd/v1/products/imagemagick/imagemagick

Projects

RepositoryLink kindsIndexedUrl
ImageMagick/ImageMagickcommit, fix, issuesyes/v1/repositories/ImageMagick/ImageMagick
ImageMagick/ImageMagick6commit, fixyes/v1/repositories/ImageMagick/ImageMagick6

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-07-24
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts