Every CVE Search/ Get API key

CVE-2019-18218

cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR...

7.8 HighFix available

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).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.85%Down 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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).

Record
CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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).

Record
CVE-2019-18218
Updated
2026-11-02
EUVDEUVD-2019-8018 No score

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).

Record
EUVD-2019-8018
Updated
2026-11-03
GitHub AdvisoriesGHSA-gg3j-j3hx-hjx5 7.8

cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR...

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).

Record
GHSA-gg3j-j3hx-hjx5
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2019-18218 7.8

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).

Record
ALPINE-CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2019-18218 7.8

CVE-2019-18218 does not affect BellSoft software

Record
BELL-CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 15 moreShow less
OSV 7.8

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).

Record
CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-18218 7.8

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).

Record
DEBIAN-CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2021:4374 7.8

Red Hat Security Advisory: file security update

Record
RHSA-2021:4374
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2021:4374 7.8

Moderate: file security update

The file command is used to identify a particular file according to the type of data the file contains. It can identify many different file types, including Executable and Linkable Format (ELF) binary files, system libraries, RPM packages, and different graphics formats.

Security Fix(es):

  • file: heap-based buffer overflow in cdf_read_property_info in cdf.c (CVE-2019-18218)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4374
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2019-18218 7.8

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).

Record
UBUNTU-CVE-2019-18218
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2021:4374 No score

Moderate: file security update

The file command is used to identify a particular file according to the type of data the file contains. It can identify many different file types, including Executable and Linkable Format (ELF) binary files, system libraries, RPM packages, and different graphics formats.

Security Fix(es):

  • file: heap-based buffer overflow in cdf_read_property_info in cdf.c (CVE-2019-18218)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4374
Updated
2026-11-02
OSVCLSA-2026-1776693102 No score

file: Fix of CVE-2019-18218

  • CVE-2019-18218: fix heap-based buffer overflow in cdf_read_property_info
Record
CLSA-2026-1776693102
Updated
2026-11-02
OSVCLSA-2026-1777683788 No score

file: Fix of CVE-2019-18218

  • CVE-2019-18218: fix heap-based buffer overflow in cdf_read_property_info
Record
CLSA-2026-1777683788
Updated
2026-11-02
OSVMGASA-2019-0308 No score

Updated file packages fix security vulnerability

Updated file packages fix security vulnerability:

A buffer overflow was found in file which may result in denial of service or potentially the execution of arbitrary code if a malformed CDF (Composite Document File) file is processed (CVE-2019-18218).

Record
MGASA-2019-0308
Updated
2026-11-02
OSVopenSUSE-SU-2020:0677-1 No score

Security update for file

This update for file fixes the following issues:

Security issues fixed:

  • CVE-2019-18218: Fixed a heap-based buffer overflow in cdf_read_property_info() (bsc#1154661).

Non-security issue fixed:

  • Fixed broken '--help' output (bsc#1169512).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2020:0677-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10755-1 No score

file-5.40-1.14 on GA media

These are all security issues fixed in the file-5.40-1.14 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10755-1
Updated
2026-11-02
OSVSUSE-SU-2020:1294-1 No score

Security update for file

This update for file fixes the following issues:

Security issues fixed:

  • CVE-2019-18218: Fixed a heap-based buffer overflow in cdf_read_property_info() (bsc#1154661).

Non-security issue fixed:

  • Fixed broken '--help' output (bsc#1169512).
Record
SUSE-SU-2020:1294-1
Updated
2026-11-02
OSVSUSE-SU-2021:2930-1 No score

Security update for file

This update for file fixes the following issues:

  • CVE-2019-18218: Fixed heap-based buffer overflow in cdf_read_property_info in cdf.c (bsc#1154661).
Record
SUSE-SU-2021:2930-1
Updated
2026-11-02
OSVUSN-4172-1 No score

file vulnerability

It was discovered that file incorrectly handled certain malformed files. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code.

Record
USN-4172-1
Updated
2026-11-02
OSVUSN-4172-2 No score

file vulnerability

USN-4172-1 fixed a vulnerability in file. This update provides the corresponding update for Ubuntu 12.04 ESM Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that file incorrectly handled certain malformed files. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code.

Record
USN-4172-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
file
Alpine:v3.10
before 5.37-r1
5.37-r1
file
Alpine:v3.11
before 5.37-r1
5.37-r1
file
Alpine:v3.12
before 5.37-r1
5.37-r1
file
Alpine:v3.13
before 5.37-r1
5.37-r1
file
Alpine:v3.14
before 5.37-r1
5.37-r1
file
Alpine:v3.15
before 5.37-r1
5.37-r1
file
Alpine:v3.16
before 5.37-r1
5.37-r1
file
Alpine:v3.17
before 5.37-r1
5.37-r1
file
Alpine:v3.18
before 5.37-r1
5.37-r1
file
Alpine:v3.19
before 5.37-r1
5.37-r1
Show 65 moreShow less
Affected packages
PackageAffectedFixed
file
Alpine:v3.20
before 5.37-r1
5.37-r1
file
Alpine:v3.21
before 5.37-r1
5.37-r1
file
Alpine:v3.22
before 5.37-r1
5.37-r1
file
Alpine:v3.23
before 5.37-r1
5.37-r1
file
Alpine:v3.24
before 5.37-r1
5.37-r1
file
Alpine:v3.7
before 5.32-r2
5.32-r2
file
Alpine:v3.8
before 5.32-r2
5.32-r2
file
Alpine:v3.9
before 5.36-r1
5.36-r1
file
AlmaLinux:8
before 5.33-20.el8
5.33-20.el8
file-devel
AlmaLinux:8
before 5.33-20.el8
5.33-20.el8
file-libs
AlmaLinux:8
before 5.33-20.el8
5.33-20.el8
python3-magic
AlmaLinux:8
before 5.33-20.el8
5.33-20.el8
file
TuxCare:OracleLinux:6
before 5.04-30.0.1.el6.tuxcare.els1
5.04-30.0.1.el6.tuxcare.els1
file-devel
TuxCare:OracleLinux:6
before 5.04-30.0.1.el6.tuxcare.els1
5.04-30.0.1.el6.tuxcare.els1
file-libs
TuxCare:OracleLinux:6
before 5.04-30.0.1.el6.tuxcare.els1
5.04-30.0.1.el6.tuxcare.els1
file-static
TuxCare:OracleLinux:6
before 5.04-30.0.1.el6.tuxcare.els1
5.04-30.0.1.el6.tuxcare.els1
python-magic
TuxCare:OracleLinux:6
before 5.04-30.0.1.el6.tuxcare.els1
5.04-30.0.1.el6.tuxcare.els1
file
TuxCare:CentOS:6
before 5.04-30.el6.tuxcare.els1
5.04-30.el6.tuxcare.els1
file-devel
TuxCare:CentOS:6
before 5.04-30.el6.tuxcare.els1
5.04-30.el6.tuxcare.els1
file-libs
TuxCare:CentOS:6
before 5.04-30.el6.tuxcare.els1
5.04-30.el6.tuxcare.els1
file-static
TuxCare:CentOS:6
before 5.04-30.el6.tuxcare.els1
5.04-30.el6.tuxcare.els1
python-magic
TuxCare:CentOS:6
before 5.04-30.el6.tuxcare.els1
5.04-30.el6.tuxcare.els1
file
Debian:12
before 1:5.37-6
1:5.37-6
file
Debian:13
before 1:5.37-6
1:5.37-6
file
Debian:14
before 1:5.37-6
1:5.37-6
file
Debian:8
before 1:5.22+15-2+deb8u6, plus listed versions
1:5.22+15-21:5.22+15-2+deb8u11:5.22+15-2+deb8u21:5.22+15-2+deb8u31:5.22+15-2+deb8u41:5.22+15-2+deb8u5
1:5.22+15-2+deb8u6
php7.0
Debian:9
From an advisory covering 5 CVEs
before 7.0.33-0+deb9u11, plus listed versions
7.0.19-17.0.20-17.0.20-27.0.22-17.0.22-2
Show 21 moreShow less
7.0.22-37.0.25-17.0.26-17.0.27-0+deb9u17.0.27-17.0.28-17.0.29-17.0.30-0+deb9u17.0.30-17.0.30-27.0.31-17.0.32-17.0.33-0+deb9u17.0.33-0+deb9u107.0.33-0+deb9u27.0.33-0+deb9u37.0.33-0+deb9u57.0.33-0+deb9u67.0.33-0+deb9u77.0.33-0+deb9u87.0.33-0+deb9u9
7.0.33-0+deb9u11
file
Debian:9
before 1:5.30-1+deb9u3, plus listed versions
1:5.30-11:5.30-1+deb9u11:5.30-1+deb9u2
1:5.30-1+deb9u3
file
Debian:10
before 1:5.35-4+deb10u1, plus listed versions
1:5.35-4
1:5.35-4+deb10u1
file
Mageia:7
before 5.37-1.2.mga7
5.37-1.2.mga7
file
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
file-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
file-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
file-libs
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
file-libs-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
python3-magic
Red Hat:enterprise_linux:8::baseos
before 0:5.33-20.el8
0:5.33-20.el8
file-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:5.33-20.el8
0:5.33-20.el8
file-debugsource
Red Hat:enterprise_linux:8::crb
before 0:5.33-20.el8
0:5.33-20.el8
file-devel
Red Hat:enterprise_linux:8::crb
before 0:5.33-20.el8
0:5.33-20.el8
file-libs-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:5.33-20.el8
0:5.33-20.el8
file
Rocky Linux:8
before 0:5.33-20.el8
0:5.33-20.el8
file
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 5.32-7.8.1
5.32-7.8.1
python-magic
SUSE:Linux Enterprise Module for Development Tools 15 SP1
before 5.32-7.8.1
5.32-7.8.1
python-magic
SUSE:Linux Enterprise Module for Python 2 15 SP1
before 5.32-7.8.1
5.32-7.8.1
file
SUSE:HPE Helion OpenStack 8
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:OpenStack Cloud 8
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:OpenStack Cloud 9
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:OpenStack Cloud Crowbar 8
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:OpenStack Cloud Crowbar 9
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 5.22-10.21.1
5.22-10.21.1
python-magic
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server 12 SP2-BCL
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server 12 SP3-BCL
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server 12 SP5
before 5.22-10.21.1
5.22-10.21.1
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 5.22-10.21.1
5.22-10.21.1
file
Ubuntu:Pro:14.04:LTS
before 1:5.14-2ubuntu3.4+esm1, plus listed versions
5.11-2ubuntu41:5.14-2ubuntu11:5.14-2ubuntu21:5.14-2ubuntu31:5.14-2ubuntu3.11:5.14-2ubuntu3.21:5.14-2ubuntu3.31:5.14-2ubuntu3.4
1:5.14-2ubuntu3.4+esm1
file
Ubuntu:16.04:LTS
before 1:5.25-2ubuntu1.3, plus listed versions
1:5.22+15-2ubuntu11:5.25-2ubuntu11:5.25-2ubuntu1.11:5.25-2ubuntu1.2
1:5.25-2ubuntu1.3
file
Ubuntu:18.04:LTS
before 1:5.32-2ubuntu0.3, plus listed versions
1:5.32-11:5.32-21:5.32-2ubuntu0.11:5.32-2ubuntu0.2
1:5.32-2ubuntu0.3
file
openSUSE:Leap 15.1
before 5.32-lp151.8.3.1
5.32-lp151.8.3.1
python-magic
openSUSE:Leap 15.1
before 5.32-lp151.8.3.1
5.32-lp151.8.3.1
file
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 5.40-1.14
5.40-1.14

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-18218 is a high vulnerability (CVSS 7.8) in File Project File, published October 21, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in file 5.37-r1.

References

Show 44 moreShow less
MoveEnter Open