{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.0-0"
              },
              {
                "fixed": "7.0.10-0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "00c3687ccca2bbc61bb117c28a6a689410693060"
            },
            {
              "fixed": "54cdc146bbe50018526770be201b56643ad58ba7"
            },
            {
              "fixed": "651672f19c75161a6159d9b6838fd3095b6c5304"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.0"
              },
              {
                "fixed": "6.9-11-0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2a7d9a37eddf3186e70652adbceb9ed17c491a36"
            },
            {
              "fixed": "7486477aa00c5c7856b111506da075b6cdfa8b73"
            },
            {
              "fixed": "b466a96965afc1308a4ace93f5535c2b770f294b"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick6",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3745.json"
  },
  "details": "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.",
  "id": "CVE-2023-3745",
  "modified": "2026-08-12T03:51:21.060129948Z",
  "published": "2023-07-24T15:19:23.319Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2023-3745"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3745.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3745"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2223557"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ImageMagick/ImageMagick/issues/1857"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ImageMagick/ImageMagick/commit/54cdc146bbe50018526770be201b56643ad58ba7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ImageMagick/ImageMagick/commit/651672f19c75161a6159d9b6838fd3095b6c5304"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ImageMagick/ImageMagick6/commit/7486477aa00c5c7856b111506da075b6cdfa8b73"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ImageMagick/ImageMagick6/commit/b466a96965afc1308a4ace93f5535c2b770f294b"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Imagemagick: heap-buffer-overflow in pushcharpixel() in quantum-private.h"
}