CVE-2019-8905 json
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerabili…
published 7y ago modified 4mo ago also EUVD-2019-18293
- 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 39%
- public exploits
- 0
- none known
Summary
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
Patch / fix
- file Debian 14, Debian 13, Debian 12 1:5.35-3
debian advisories DEBIAN-CVE-2019-8905
- file Ubuntu 16.04 LTS 1:5.25-2ubuntu1.2
- file Ubuntu 18.04 LTS 1:5.32-2ubuntu0.2
ubuntu advisories UBUNTU-CVE-2019-8905
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-8905
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
Is CVE-2019-8905 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-8905 updated cvss 4.4
file: stack-based buffer over-read in do_core_note in readelf.c
-
Red Hat Enterprise Linux 8 file, file-libs, python3-magicaffected: no fix planned “Will not fix”
-
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
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.astron.com https://bugs.astron.com/view.php?id=63 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
-
bugs.astron.com
/view.php?id=63
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
-
securityfocus.com
/bid/107137
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/02/msg00044.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-8905
- NVD CVE-2019-8905
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.