file: heap-based buffer overflow in cdf_read_property_info in cdf.c
Published Oct 21, 2019
7.8
HIGHCVSS 3.1
EPSS 1.85%
Description
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).
Affected products
No data.
Configuration 1
- ≤ 5.37
Configuration 2
- 8.0
- 9.0
- 10.0
Configuration 4
- ≥ 7.3
Configuration 5
- 29
- 30
- 31
Configuration 6
- 12.04
- 14.04
- 16.04
- 18.04
- 19.04
- 19.10
No data.
Red Hat Enterprise Linux 8
file-0:5.33-20.el8
Fixed · RHSA-2021:4374
Red Hat Enterprise Linux 5
file
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
file
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
file
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Software Collections
rh-php70-php
Not affected
Red Hat Software Collections
rh-php71-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | file-0:5.33-20.el8 | Fixed | RHSA-2021:4374 |
| Red Hat Enterprise Linux 5 | file | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | file | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | file | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php70-php | Not affected | n/a |
| Red Hat Software Collections | rh-php71-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the `file` package as shipped with Red Hat Enterprise Linux 8. However, this flaw has been rated as having a security impact of Moderate because it is only exploitable if the 32bit version is used, for example when an application uses the 32bit version of libmagic.so.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.85% (0.01850) | 78.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.85% (0.01850) | 76.27th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.22% (0.00216) | 42.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.12% (0.00118) | 47.61th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.12% (0.00118) | 45.68th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00086) | 34.76th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 11.74% (0.11741) | 88.45th | v1 |
| Jan 6, 2022 | 11.74% (0.11741) | 88.31th | v1 |
| Jan 5, 2022 | 2.88% (0.02880) | 81.26th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.68% (0.02678) | 0.00th | v1 |
References (17)
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00044.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-18218 Vendor Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16780 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1765272 Issue Tracking
- https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/10/msg00032.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV6PFCEYHYALMTT45QE2U5C5TEJZQPXJ/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D6BJVGXSCC6NMIAWX36FPWHEIFON3OSE/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VBK6XOJR6OVWT2FUEBO7V7KCOSSLAP52/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-18218
- https://security.gentoo.org/glsa/202003-24 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20200115-0001/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4172-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/4172-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-18218
- https://www.debian.org/security/2019/dsa-4550 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.