Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-10052

Buffer overflow in the WriteProfile function in coders/jpeg.c in ImageMagick before 6.9.5-6 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-10052
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:02 UTC · Revision 1

Source evidence

CVE-2016-10052

core-osv · Original source

Published 23 Mar 2017, 17:59 UTC

Buffer overflow in the WriteProfile function in coders/jpeg.c in ImageMagick before 6.9.5-6 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.

osv:CVE-2016-10052
Complete source record
{
  "id": "c56dcec14ed5379de52fc56eb466fd246f7b683263c3b09e13e0520fe14d133d",
  "url": "https://osv.dev/vulnerability/CVE-2016-10052",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-10052",
    "summary": "Buffer overflow in the WriteProfile function in coders/jpeg.c in ImageMagick before 6.9.5-6 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted file.",
    "evidence": "osv:CVE-2016-10052",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-10052",
      "aliases": [
        "CVE-2016-10052"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "13267a10845a8dadabed63072b537f050cec6daa"
                },
                {
                  "fixed": "9e187b73a8a1290bb0e1a1c878f8be1917aa8742"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "13267a10845a8dadabed63072b537f050cec6daa"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9e187b73a8a1290bb0e1a1c878f8be1917aa8742"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.2-7",
            "7.0.2-6",
            "7.0.2-5",
            "7.0.2-4",
            "7.0.2-3",
            "7.0.2-2",
            "7.0.2-1",
            "7.0.2-0",
            "7.0.1-10",
            "7.0.1-9",
            "7.0.1-8",
            "7.0.1-7",
            "7.0.1-6",
            "7.0.1-5",
            "7.0.1-4",
            "7.0.1-3",
            "7.0.1-2",
            "7.0.1-1",
            "7.0.1-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10052.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-10052-13c687ea",
                "digest": {
                  "length": 2731,
                  "function_hash": "89483627372646893280161877103821439769"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/13267a10845a8dadabed63072b537f050cec6daa",
                "target": {
                  "file": "coders/jpeg.c",
                  "function": "WriteProfile"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10052-3c5fa106",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "56253162425445806751265001462817591569",
                    "132433403060272297246172142265625644524",
                    "5356819118163748134532570151435727124",
                    "197503473518008425774069524686615739526",
                    "334212436599765243090702753815008909117",
                    "127761982813903155632866629117701813149",
                    "66870368767365105566205587462762060839",
                    "16688268606783051239657333687261079209",
                    "236791906238400667519590912992689163496",
                    "93071636781764418203473928117278666211",
                    "293173508704888306060391319407728935174",
                    "268175543057563803639738747044076770706",
                    "268036570827673594746855874052669415134",
                    "131912113798070893418969902990370204799",
                    "270569316663015586546900134358477019477"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/13267a10845a8dadabed63072b537f050cec6daa",
                "target": {
                  "file": "coders/jpeg.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10052-68a3ed0e",
                "digest": {
                  "length": 19360,
                  "function_hash": "260592553904765170044518643276576524292"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/13267a10845a8dadabed63072b537f050cec6daa",
                "target": {
                  "file": "coders/jpeg.c",
                  "function": "WriteJPEGImage"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10052-c7d7b927",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "113843996922438976717064988881421579927",
                    "58774743768408380779961446878324363023",
                    "66870368767365105566205587462762060839",
                    "16688268606783051239657333687261079209",
                    "236791906238400667519590912992689163496",
                    "93071636781764418203473928117278666211",
                    "293173508704888306060391319407728935174"
                  ]
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/9e187b73a8a1290bb0e1a1c878f8be1917aa8742",
                "target": {
                  "file": "coders/jpeg.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10052-ea847e27",
                "digest": {
                  "length": 2731,
                  "function_hash": "4432838161033079885271334110517193327"
                },
                "source": "https://github.com/imagemagick/imagemagick/commit/9e187b73a8a1290bb0e1a1c878f8be1917aa8742",
                "target": {
                  "file": "coders/jpeg.c",
                  "function": "WriteProfile"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:04:05Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/imagemagick/imagemagick6",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "839128db329afbe0195137820266efbf7de9baf7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.9.5-5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.9.5-5",
            "6.9.5-4",
            "6.9.5-3",
            "6.9.5-2",
            "6.9.5-1",
            "6.9.5-0",
            "6.9.4-10",
            "6.9.4-9",
            "6.9.4-8",
            "6.9.4-7",
            "6.9.4-6",
            "6.9.4-5",
            "6.9.4-4",
            "6.9.4-3",
            "6.9.4-2",
            "6.9.4-1",
            "6.9.4-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10052.json"
          }
        }
      ],
      "modified": "2026-10-24T14:04:05.253795206Z",
      "provider": "osv",
      "references": [
        "https://bugzilla.redhat.com/show_bug.cgi?id=1410459",
        "https://github.com/ImageMagick/ImageMagick/commit/13267a10845a8dadabed63072b537f050cec6daa",
        "https://github.com/ImageMagick/ImageMagick/commit/9e187b73a8a1290bb0e1a1c878f8be1917aa8742"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "imagemagick:imagemagick",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "6.9.5-5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-10052",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442895,
  "published_at": "2017-03-23T17:59:00.517+00:00"
}