Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via crafted compressed gd2 data, which triggers a heap-based buffer overflow.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
]
}{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "7.0"
},
{
"introduced": "0"
},
{
"last_affected": "8.0"
},
{
"introduced": "5.5.0"
},
{
"fixed": "5.5.35"
},
{
"introduced": "5.6.0"
},
{
"fixed": "5.6.21"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.6"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3074.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "23"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "24"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "14.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "15.10"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "16.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "13.2"
}
]
}
]
[
{
"signature_version": "v1",
"target": {
"file": "src/gd_gd2.c",
"function": "_gd2GetHeader"
},
"source": "https://github.com/libgd/libgd/commit/2bb97f407c1145c850416a3bfbcc8cf124e68a19",
"deprecated": false,
"digest": {
"function_hash": "163878100595225240009372061331328833043",
"length": 2523.0
},
"id": "CVE-2016-3074-081b5b6d",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "src/gd_gd2.c"
},
"source": "https://github.com/libgd/libgd/commit/2bb97f407c1145c850416a3bfbcc8cf124e68a19",
"deprecated": false,
"digest": {
"line_hashes": [
"308632048764262319325349404959904373833",
"156654908032796698564829210861782091210",
"87643980687445443250260216682085309841",
"74748855092100787267051943652936968299"
],
"threshold": 0.9
},
"id": "CVE-2016-3074-8c2aa4db",
"signature_type": "Line"
}
]