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).
https://www.debian.org/security/2019/dsa-4550
https://usn.ubuntu.com/4172-2/
https://usn.ubuntu.com/4172-1/
https://security.netapp.com/advisory/ntap-20200115-0001/
https://security.gentoo.org/glsa/202003-24
https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html
https://lists.debian.org/debian-lts-announce/2019/10/msg00032.html
https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16780
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00044.html