CVEfocus › CVE database › CVE-2019-8906

CVE-2019-8906

CVSS 4.4 MediumEPSS 0.5% (higher than 43% of CVEs)Published 2019-02-18Updated 2026-10-08Assigner: mitre

do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
4Fix pending
65Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04fileFixed1:5.32-2ubuntu0.2UBUNTU-CVE-2019-8906
Ubuntu 16.04fileNot affected
vulnerable_code_not_present
Debian 14fileFixed1:5.35-3DEBIAN-CVE-2019-8906
Debian 13fileFixed1:5.35-3DEBIAN-CVE-2019-8906
Debian 12fileFixed1:5.35-3DEBIAN-CVE-2019-8906
Red Hat Enterprise Linux 8fileFix pending
Fix deferred
Red Hat Enterprise Linux 8file-develFix pending
Fix deferred
Red Hat Enterprise Linux 8file-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8python3-magicFix pending
Fix deferred
Red Hat Enterprise Linux 7fileNot affected
Red Hat Enterprise Linux 7file-develNot affected
Red Hat Enterprise Linux 7file-libsNot affected
Red Hat Enterprise Linux 7file-staticNot affected
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 7php-bcmathNot affected
Red Hat Enterprise Linux 7php-cliNot affected
Red Hat Enterprise Linux 7php-commonNot affected
Red Hat Enterprise Linux 7php-dbaNot affected
Red Hat Enterprise Linux 7php-develNot affected
Red Hat Enterprise Linux 7php-embeddedNot affected
Red Hat Enterprise Linux 7php-enchantNot affected
Red Hat Enterprise Linux 7php-fpmNot affected
Red Hat Enterprise Linux 7php-gdNot affected
Red Hat Enterprise Linux 7php-intlNot affected
Red Hat Enterprise Linux 7php-ldapNot affected
Red Hat Enterprise Linux 7php-mbstringNot affected
Red Hat Enterprise Linux 7php-mysqlNot affected
Red Hat Enterprise Linux 7php-mysqlndNot affected
Red Hat Enterprise Linux 7php-odbcNot affected
Red Hat Enterprise Linux 7php-pdoNot affected
Red Hat Enterprise Linux 7php-pgsqlNot affected
Red Hat Enterprise Linux 7php-processNot affected
Red Hat Enterprise Linux 7php-pspellNot affected
Red Hat Enterprise Linux 7php-recodeNot affected
Red Hat Enterprise Linux 7php-snmpNot affected
Red Hat Enterprise Linux 7php-soapNot affected
Red Hat Enterprise Linux 7php-xmlNot affected
Red Hat Enterprise Linux 7php-xmlrpcNot affected
Red Hat Enterprise Linux 7python-magicNot affected
Red Hat Enterprise Linux 6fileNot affected
Red Hat Enterprise Linux 6file-develNot affected
Red Hat Enterprise Linux 6file-libsNot affected
Red Hat Enterprise Linux 6file-staticNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 6php-bcmathNot affected
Red Hat Enterprise Linux 6php-cliNot affected
Red Hat Enterprise Linux 6php-commonNot affected
Red Hat Enterprise Linux 6php-dbaNot affected
Red Hat Enterprise Linux 6php-develNot affected
Red Hat Enterprise Linux 6php-embeddedNot affected
Red Hat Enterprise Linux 6php-enchantNot affected
Red Hat Enterprise Linux 6php-fpmNot affected
Red Hat Enterprise Linux 6php-gdNot affected
Red Hat Enterprise Linux 6php-imapNot affected
Red Hat Enterprise Linux 6php-intlNot affected
Red Hat Enterprise Linux 6php-ldapNot affected
Red Hat Enterprise Linux 6php-mbstringNot affected
Red Hat Enterprise Linux 6php-mysqlNot affected
Red Hat Enterprise Linux 6php-odbcNot affected
Red Hat Enterprise Linux 6php-pdoNot affected
Red Hat Enterprise Linux 6php-pgsqlNot affected
Red Hat Enterprise Linux 6php-processNot affected
Red Hat Enterprise Linux 6php-pspellNot affected
Red Hat Enterprise Linux 6php-recodeNot affected
Red Hat Enterprise Linux 6php-snmpNot affected
Red Hat Enterprise Linux 6php-soapNot affected
Red Hat Enterprise Linux 6php-tidyNot affected
Red Hat Enterprise Linux 6php-xmlNot affected
Red Hat Enterprise Linux 6php-xmlrpcNot affected
Red Hat Enterprise Linux 6php-ztsNot affected
Red Hat Enterprise Linux 6python-magicNot affected
Red Hat Enterprise Linux 5fileNot affected
Red Hat Enterprise Linux 5php53Not affected
Alpine Linux 3.24fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.23fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.22fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.21fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.20fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.19fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.18fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.17fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.16fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.15fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.14fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.13fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.12fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.11fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.10fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.9fileFixed5.36-r0ALPINE-CVE-2019-8906
Alpine Linux 3.8fileFixed5.32-r1ALPINE-CVE-2019-8906
Alpine Linux 3.7fileFixed5.32-r1ALPINE-CVE-2019-8906

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.