{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "7.0.2-0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "25ea4de824468525f809ed1d62946626cb6e8aa6"
            },
            {
              "fixed": "d8ab7f046587f2e9f734b687ba7e6e10147c294b"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:o:oracle:solaris:10.0:*:*:*:*:*:*:*",
          "cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "10.0"
          },
          {
            "last_affected": "10.0"
          },
          {
            "introduced": "11.3"
          },
          {
            "last_affected": "11.3"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "oracle:solaris"
      }
    ]
  },
  "details": "Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of service (segmentation fault) or possibly execute arbitrary code via vectors involving the offset variable.",
  "id": "CVE-2016-5841",
  "modified": "2026-08-07T11:31:17.232383313Z",
  "published": "2016-12-13T15:59:06.607Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/91394"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ImageMagick/ImageMagick/commit/d8ab7f046587f2e9f734b687ba7e6e10147c294b"
    },
    {
      "type": "FIX",
      "url": "http://www.openwall.com/lists/oss-security/2016/06/23/1"
    },
    {
      "type": "FIX",
      "url": "http://www.openwall.com/lists/oss-security/2016/06/25/3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ImageMagick/ImageMagick/commits/7.0.2-1"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}