CVE-2016-7101

Source
https://cve.org/CVERecord?id=CVE-2016-7101
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7101.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-7101
Downstream
DEBIAN (1)
MGASA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-01-18T17:59:00Z
Modified
2026-10-22T07:07:26Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a large row value in an sgi file.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "6.9.5-8"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "imagemagick:imagemagick"
        }
    ]
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "7.0.0-0"
                },
                {
                    "fixed":  "7.0.2-10"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "7afcf9f71043df15508e46f079387bd4689a738d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "8f8959033e4e59418d6506b345829af1f7a71127"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

7.*
7.0.1-0
7.0.1-1
7.0.1-10
7.0.1-2
7.0.1-3
7.0.1-4
7.0.1-5
7.0.1-6
7.0.1-7
7.0.1-8
7.0.1-9
7.0.2-0
7.0.2-1
7.0.2-2
7.0.2-3
7.0.2-4
7.0.2-5
7.0.2-6
7.0.2-7
7.0.2-8
7.0.2-9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7101.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "38992979835926582678353836717524664850",
            "length":  11108
        },
        "id":  "CVE-2016-7101-43ae43cc",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/7afcf9f71043df15508e46f079387bd4689a738d",
        "target":  {
            "file":  "coders/sgi.c",
            "function":  "ReadSGIImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "175738667582951687709934378911256453683",
                "173870332777356733597540604599799727409",
                "109051879306058611738241749710437944719",
                "24499431317792828616637206672947119917",
                "119235688060635533120094398494704443561",
                "94076028067114905915555189509555766357",
                "318604369223038471143800125259557374019",
                "267892749823546944089710570774029745235",
                "234059992580300943213135794320117750814",
                "30947904900441035358072037530787739733"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-7101-4db2fb23",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/7afcf9f71043df15508e46f079387bd4689a738d",
        "target":  {
            "file":  "coders/sgi.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "233824663533578799883944741873460280200",
            "length":  9732
        },
        "id":  "CVE-2016-7101-6e2077b7",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/104b6c96a4d7cd159f234a8f8fa1b4649b1d7286",
        "target":  {
            "file":  "coders/psd.c",
            "function":  "WritePSDImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "129518849084965542227393714367609967839",
            "length":  1810
        },
        "id":  "CVE-2016-7101-a11d4e55",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/104b6c96a4d7cd159f234a8f8fa1b4649b1d7286",
        "target":  {
            "file":  "coders/psd.c",
            "function":  "FilterAdditionalLayerInformation"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "108740126882545814851533735595465736822",
                "48477567520902389236647671138370929630",
                "87977518246777124720835573222756406809",
                "326475873969871574180186612361008149091",
                "103316115861786808335111923209966370780",
                "328181468267352931963705897837823121811",
                "156806815285268351483048121514396599840",
                "282853779392576571124339293828972945725",
                "312083330872765293319986429520062410420",
                "192103501246992342805196797283805010345",
                "108950214869754331967832519788943577408",
                "35292478060111696458058930589778156425",
                "185792689403760769672262205046227631005",
                "59097276997680189510529763139163968628",
                "237934478085821480177959881169460742626",
                "196352857121978090287577182543906081952",
                "49653345742379819664969521811633097205",
                "31491154282409138535382876070113104871",
                "218661088709509303266055304047316721918",
                "20253547151499278016004694190735579378"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-7101-c8cfb57f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/104b6c96a4d7cd159f234a8f8fa1b4649b1d7286",
        "target":  {
            "file":  "coders/psd.c"
        }
    }
]
vanir_signatures_modified
"2026-10-22T07:07:26Z"