Skip to content
Fencer Vulns
medium 4.4

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 2019-02-18 7 y ago modified 2026-06-17 4 mo 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

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-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-magic
    affected: 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 more
    not 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-08).

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

References

Sources

Fencer Vulns 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.