CVE-2019-8906 json
do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
published 2019-02-18 7 y ago modified 2026-10-08 31 d ago also EUVD-2019-18294
- cvss
- 4.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
Patch / fix
- apple iphone_os 12.2
- apple mac_os_x 10.14.4
- apple tvos 12.2
- apple watchos 5.2
- file Debian 14, Debian 13, Debian 12 1:5.35-3
debian advisories DEBIAN-CVE-2019-8906
- file Ubuntu 18.04 LTS 1:5.32-2ubuntu0.2
ubuntu advisories UBUNTU-CVE-2019-8906
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 SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +5 more 5.22-10.12.2
- python-magic SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3 5.22-10.12.2
- file SLE Module for Basesystem 15 5.32-7.5.1
- python-magic SLE Module for Development Tools 15, SLE Module for Basesystem 15 5.32-7.5.1
suse advisories SUSE-SU-2019:0839-1SUSE-SU-2019:0571-1
- file openSUSE Leap 15.0 5.32-lp150.6.3.1
- python-magic openSUSE Leap 15.0 5.32-lp150.6.3.1
opensuse advisories openSUSE-SU-2019:0345-1
- file Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 5.36-r0
- file Alpine 3.8, Alpine 3.7 5.32-r1
alpine advisories ALPINE-CVE-2019-8906
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.36-1
arch linux advisories AVG-907
- github.com/file/file@2858eaf commit
Vendor 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-8906 updated cvss 4.4
file: out-of-bounds read in do_core_note in readelf.c
-
Red Hat Enterprise Linux 8 file, file-libs, python3-magicaffected: no fix available “Fix deferred”
-
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-php72-php, rh-php73-php, rh-php72-php-gd, rh-php73-php-gd, rh-php72-php-cli, rh-php72-php-dba, +50 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 32 d ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.astron.com https://bugs.astron.com/view.php?id=64 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L |
| NVD | 2.0 | 3.6 | AV:L/AC:L/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f
patch, third-party-advisory
-
bugs.astron.com
/view.php?id=64
exploit, issue-tracking, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-03/msg00027.html
vendor-advisory, mailing-list, third-party-advisory
-
usn.ubuntu.com
/3911-1/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00053.html
vendor-advisory, mailing-list, third-party-advisory
-
support.apple.com
/kb/HT209599
third-party-advisory
-
support.apple.com
/kb/HT209601
third-party-advisory
-
support.apple.com
/kb/HT209600
third-party-advisory
-
support.apple.com
/kb/HT209602
third-party-advisory
Sources
- CVE List CVE-2019-8906
- NVD CVE-2019-8906
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.