Medium
Security advisory
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-10167
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:10 UTC · Revision 1
Source evidence
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.
osv:CVE-2016-10167
Complete source record
{
"id": "26d7e5ee4fa91d2ddc2158aa89dae74543a27a395c313138727e569ed5623a73",
"url": "https://osv.dev/vulnerability/CVE-2016-10167",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-10167",
"summary": "The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.",
"evidence": "osv:CVE-2016-10167",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-10167",
"aliases": [
"CVE-2016-10167"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libgd/libgd",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "46ceef5970bf3a847ff61d1bdde7501d66c11d0c"
},
{
"fixed": "fe9ed49dafa993e3af96b6a5a589efeea9bfb36f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "fe9ed49dafa993e3af96b6a5a589efeea9bfb36f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"gd-2.2.3",
"gd-2.2.2",
"gd-2.2.1",
"gd-2.2.0",
"gd-2.1.1",
"gd-2.1.0",
"gd-2.1.0-rc1",
"gd-2.1.0-alpha1",
"GD_2_0_34RC1",
"GD_2_0_33",
"GD_2_0_32",
"GD_2_0_31",
"GD_2_0_30",
"GD_2_0_29",
"GD_2_0_28",
"GD_2_0_27",
"GD_2_0_26",
"GD_2_0_25",
"GD_2_0_24",
"GD_2_0_23",
"GD_2_0_22",
"GD_2_0_21",
"GD_2_0_20",
"GD_2_0_19",
"GD_2_0_18",
"GD_2_0_17",
"GD_2_0_15",
"GD_2_0_14",
"GD_2_0_13",
"GD_2_0_12",
"GD_2_0_11",
"GD_2_0_10",
"GD_2_0_9",
"GD_2_0_8",
"GD_2_0_7",
"GD_2_0_6",
"GD_2_0_5",
"GD_2_0_4",
"GD_2_0_3",
"GD_2_0_2",
"GD_2_0_1",
"GD_2_0_0",
"GD_1_8_4",
"GD_1_8_3",
"GD_1_8_1",
"GD_1_8_0",
"GD_1_7_3",
"GD_1_7_2",
"GD_1_7_1",
"GD_1_7_0",
"GD_1_6_3",
"GD_1_6_2",
"GD_1_6_1",
"GD_1_6_0",
"GD_1_5_0",
"GD_1_4_0",
"GD_1_3_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10167.json",
"vanir_signatures": [
{
"id": "CVE-2016-10167-00cccb07",
"digest": {
"threshold": 0.9,
"line_hashes": [
"194411151092001232974339546275188206885",
"267823361290543127515268673003405516669",
"171271300336810592618540495083476143259",
"71661422941037358524760434477336173087",
"213441941253899852367604743567420560542",
"216320710150188578254777252806342596233",
"179848356536284711233238296906354064310",
"294931990662525762394580523145401463678",
"48041632553446385702883507090134285843"
]
},
"source": "https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f",
"target": {
"file": "src/gd_gd2.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2016-10167-8128f0b7",
"digest": {
"length": 2491,
"function_hash": "10047066907252219339000400664784805184"
},
"source": "https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f",
"target": {
"file": "src/gd_gd2.c",
"function": "gdImageCreateFromGd2Ctx"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:14:33Z"
}
}
],
"modified": "2026-10-20T13:14:33.194525918Z",
"provider": "osv",
"references": [
"https://www.tenable.com/security/tns-2017-04",
"https://access.redhat.com/errata/RHSA-2017:3221",
"https://access.redhat.com/errata/RHSA-2018:1296",
"https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-10167",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387373,
"published_at": "2017-03-15T15:59:00.297+00:00"
}