High
Security advisory
cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-18218
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:28 UTC · Revision 1
Source evidence
cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).
osv:CVE-2019-18218
Complete source record
{
"id": "403ba26d0ea825e40e0f872607754824883f4418bfaa70558e89e21951b99b09",
"url": "https://osv.dev/vulnerability/CVE-2019-18218",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-18218",
"summary": "cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).",
"evidence": "osv:CVE-2019-18218",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-18218",
"aliases": [
"CVE-2019-18218"
],
"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/file/file",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "a0d5b0e4e9f97d74a9911e95cedd579852e25398"
},
{
"fixed": "46a8443f76cec4b41ec736eca396984c74664f84"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:file_project:file:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.37"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "46a8443f76cec4b41ec736eca396984c74664f84"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"FILE5_37",
"FILE5_36",
"FILE5_35",
"FILE5_34",
"FILE5_33",
"FILE5_32",
"FILE5_31",
"FILE5_30",
"FILE5_29",
"FILE5_28",
"FILE5_27",
"FILE5_26",
"FILE5_25",
"FILE5_24",
"FILE5_23",
"FILE5_22",
"FILE5_21",
"FILE5_20",
"FILE5_19",
"FILE5_18",
"FILE5_17",
"FILE5_16",
"FILE5_15",
"FILE5_14",
"FILE5_13",
"FILE5_12",
"FILE5_11",
"FILE5_10",
"FILE5_09",
"FILE5_08",
"FILE5_07",
"FILE5_04",
"FILE5_03",
"FILE5_02",
"FILE5_01",
"FILE5_00",
"FILE4_26",
"FILE4_25",
"FILE4_24",
"pre-rrt-big-changes-post-4-23",
"FILE4_23",
"FILE4_22",
"FILE4_21",
"FILE4_20",
"FILE4_19",
"FILE4_18",
"FILE4_17",
"FILE4_16",
"FILE4_15",
"FILE4_14",
"FILE4_13",
"FILE4_12",
"FILE4_11",
"FILE4_10",
"FILE4_09",
"FILE4_08",
"FILE4_07",
"FILE4_06",
"FILE4_05",
"FILE4_04",
"FILE4_03",
"FILE4_02",
"FILE4_01",
"FILE4_00",
"FILE3_41",
"FILE3_40",
"FILE3_39",
"FILE3_38",
"FILE3_37",
"FILE3_36",
"FILE3_35",
"FILE3_34",
"FILE3_33",
"FILE3_32",
"FILE3_31",
"FILE3_30",
"FILE3_28",
"FILE3_27"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18218.json",
"vanir_signatures": [
{
"id": "CVE-2019-18218-124a6812",
"digest": {
"length": 4060,
"function_hash": "141462265533073168588410924988499256220"
},
"source": "https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84",
"target": {
"file": "src/cdf.c",
"function": "cdf_read_property_info"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-18218-4601ee86",
"digest": {
"threshold": 0.9,
"line_hashes": [
"232348618922950287035341901861972145872",
"338533911114036514584387668062207342846",
"326674587567267172409291237374634580764",
"264564310128975935481162260876263917724",
"246134627259958658615817409114321934769",
"190950152636129980836088233351599417731",
"333926495558274210915114571492543351460",
"263999937339594604155784173374512471434",
"152715470018542414313236424384854217638",
"100274328262298050445601681789737821828",
"87563207867777330957918320582015450416",
"38824614804368571099286801056625173862",
"142503734579567137890548824060177062290"
]
},
"source": "https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84",
"target": {
"file": "src/cdf.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:40:38Z"
}
}
],
"modified": "2026-10-20T13:40:38.194508800Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV6PFCEYHYALMTT45QE2U5C5TEJZQPXJ/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D6BJVGXSCC6NMIAWX36FPWHEIFON3OSE/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VBK6XOJR6OVWT2FUEBO7V7KCOSSLAP52/",
"https://lists.debian.org/debian-lts-announce/2019/10/msg00032.html",
"https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html",
"https://security.gentoo.org/glsa/202003-24",
"https://security.netapp.com/advisory/ntap-20200115-0001/",
"https://usn.ubuntu.com/4172-1/",
"https://usn.ubuntu.com/4172-2/",
"https://www.debian.org/security/2019/dsa-4550",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16780",
"https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:netapp:active_iq_unified_manager:*:*:*:*:*:linux:*:*"
],
"vendor_product": "netapp:active_iq_unified_manager",
"extracted_events": [
{
"range": [
{
"introduced": "7.3"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.04"
},
{
"last_affected": "19.04"
},
{
"introduced": "19.10"
},
{
"last_affected": "19.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "29"
},
{
"last_affected": "29"
},
{
"introduced": "30"
},
{
"last_affected": "30"
},
{
"introduced": "31"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-18218",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387947,
"published_at": "2019-10-21T05:15:10.52+00:00"
}