CVE-2019-18218

NameCVE-2019-18218
Descriptioncdf_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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1969-1, DSA-4550-1
NVD severityhigh
Debian Bugs942830

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
file (PTS)jessie1:5.22+15-2+deb8u4vulnerable
jessie (security)1:5.22+15-2+deb8u6fixed
stretch1:5.30-1+deb9u2vulnerable
stretch (security)1:5.30-1+deb9u3fixed
buster, buster (security)1:5.35-4+deb10u1fixed
bullseye, sid1:5.37-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
filesource(unstable)1:5.37-6942830
filesourcebuster1:5.35-4+deb10u1DSA-4550-1
filesourcejessie1:5.22+15-2+deb8u6DLA-1969-1
filesourcestretch1:5.30-1+deb9u3DSA-4550-1

Notes

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16780
https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84

Search for package or bug name: Reporting problems