{"id":"UBUNTU-CVE-2019-18218","details":"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).","modified":"2026-02-04T02:19:15.735011Z","published":"2019-10-21T05:15:00Z","related":["USN-4172-1","USN-4172-2"],"upstream":["CVE-2019-18218"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18218"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4172-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4172-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18218"}],"affected":[{"package":{"name":"file","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/file@1:5.14-2ubuntu3.4+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.14-2ubuntu3.4+esm1"}]}],"versions":["5.11-2ubuntu4","1:5.14-2ubuntu1","1:5.14-2ubuntu2","1:5.14-2ubuntu3","1:5.14-2ubuntu3.1","1:5.14-2ubuntu3.2","1:5.14-2ubuntu3.3","1:5.14-2ubuntu3.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1:5.14-2ubuntu3.4+esm1","binary_name":"file"},{"binary_version":"1:5.14-2ubuntu3.4+esm1","binary_name":"libmagic-dev"},{"binary_version":"1:5.14-2ubuntu3.4+esm1","binary_name":"libmagic1"},{"binary_version":"1:5.14-2ubuntu3.4+esm1","binary_name":"python-magic"},{"binary_version":"1:5.14-2ubuntu3.4+esm1","binary_name":"python3-magic"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18218.json"}},{"package":{"name":"file","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/file@1:5.25-2ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.25-2ubuntu1.3"}]}],"versions":["1:5.22+15-2ubuntu1","1:5.25-2ubuntu1","1:5.25-2ubuntu1.1","1:5.25-2ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:5.25-2ubuntu1.3","binary_name":"file"},{"binary_version":"1:5.25-2ubuntu1.3","binary_name":"libmagic-dev"},{"binary_version":"1:5.25-2ubuntu1.3","binary_name":"libmagic1"},{"binary_version":"1:5.25-2ubuntu1.3","binary_name":"python-magic"},{"binary_version":"1:5.25-2ubuntu1.3","binary_name":"python3-magic"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18218.json"}},{"package":{"name":"file","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/file@1:5.32-2ubuntu0.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.32-2ubuntu0.3"}]}],"versions":["1:5.32-1","1:5.32-2","1:5.32-2ubuntu0.1","1:5.32-2ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:5.32-2ubuntu0.3","binary_name":"file"},{"binary_version":"1:5.32-2ubuntu0.3","binary_name":"libmagic-dev"},{"binary_version":"1:5.32-2ubuntu0.3","binary_name":"libmagic-mgc"},{"binary_version":"1:5.32-2ubuntu0.3","binary_name":"libmagic1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18218.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}