CVE-2019-18218 json
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…
published 7y ago modified 4mo ago also EUVD-2019-8018
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
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).
Patch / fix
- file Debian 14, Debian 13, Debian 12 1:5.37-6
debian advisories DEBIAN-CVE-2019-18218
- file Ubuntu 16.04 LTS 1:5.25-2ubuntu1.3
- file Ubuntu 18.04 LTS 1:5.32-2ubuntu0.3
- file Ubuntu Pro 14.04 LTS 1:5.14-2ubuntu3.4+esm1
ubuntu advisories UBUNTU-CVE-2019-18218
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- file RHEL 8 5.33-20.el8
- file-libs RHEL 8 5.33-20.el8
- python3-magic RHEL 8 5.33-20.el8
red hat advisories RHSA-2021:4374
- file SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 5.22-10.21.1
- python-magic SLE Software Development Kit 12 SP5 5.22-10.21.1
- file SLE Module for Basesystem 15 SP1 5.32-7.8.1
- python-magic SLE Module for Python 2 15 SP1, SLE Module for Development Tools 15 SP1 5.32-7.8.1
suse advisories SUSE-SU-2021:2930-1SUSE-SU-2020:1294-1
- file openSUSE Tumbleweed 5.40-1.14
- file openSUSE Leap 15.1 5.32-lp151.8.3.1
- python-magic openSUSE Leap 15.1 5.32-lp151.8.3.1
opensuse advisories openSUSE-SU-2024:10755-1openSUSE-SU-2020:0677-1
- file AlmaLinux 8 5.33-20.el8
- file-libs AlmaLinux 8 5.33-20.el8
- python3-magic AlmaLinux 8 5.33-20.el8
almalinux advisories ALSA-2021:4374
- file Rocky Linux 8 5.33-20.el8
rocky linux advisories RLSA-2021:4374
- file Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 5.37-r1
- file Alpine 3.8, Alpine 3.7 5.32-r2
- file Alpine 3.9 5.36-r1
alpine advisories ALPINE-CVE-2019-18218
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- file Arch Linux 5.38-1
arch linux advisories AVG-1083
- github.com/file/file@46a8443 commit
Is CVE-2019-18218 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-18218 updated cvss 7.8
file: heap-based buffer overflow in cdf_read_property_info in cdf.c
-
Red Hat CodeReady Linux Builder (v. 8) file-devel 5.33-20.el8, file-debuginfo 5.33-20.el8, file-debugsource 5.33-20.el8, file-libs-debuginfo 5.33-20.el8 Red Hat Enterprise Linux BaseOS (v. 8) file 5.33-20.el8, file-libs 5.33-20.el8, python3-magic 5.33-20.el8fixed: vendor fix RHSA-2021:4374
-
Red Hat Enterprise Linux 5 file, php53 Red Hat Enterprise Linux 6 php, file, php-gd, php-cli, php-dba, php-fpm, +23 more Red Hat Enterprise Linux 7 php, file, php-gd, php-cli, php-dba, php-fpm, +21 more Red Hat Software Collections rh-php70-php, rh-php71-php, rh-php70-php-gd, rh-php71-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16780 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84
patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=16780
exploit, issue-tracking, third-party-advisory
-
debian.org
/security/2019/dsa-4550
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4172-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4172-2/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VBK6XOJR6OVWT2FUEBO7V7KCOSSLAP52/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CV6PFCEYHYALMTT45QE2U5C5TEJZQPXJ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/D6BJVGXSCC6NMIAWX36FPWHEIFON3OSE/
vendor-advisory
-
security.gentoo.org
/glsa/202003-24
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-05/msg00044.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/10/msg00032.html
mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20200115-0001/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/07/msg00008.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-18218
- NVD CVE-2019-18218
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.