cve.bz

CVE-2019-8906 Out-of-bounds Read

4.4 mediumExploit referenceEPSS 0.5%Fix available

Medium (4.4). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-8906 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-8906?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-8906?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-8906 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-8906

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-8906](https://cve.bz/cve/badge/CVE-2019-8906.svg)](https://cve.bz/cve/CVE-2019-8906)

HTML:

<a href="https://cve.bz/cve/CVE-2019-8906"><img src="https://cve.bz/cve/badge/CVE-2019-8906.svg" alt="CVE-2019-8906"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
file_project:file5.35
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
opensuse:leap15.0
opensuse:leap42.3
apple:iphone_osbefore 12.2
apple:mac_os_xbefore 10.14.4
apple:tvosbefore 12.2
apple:watchosbefore 5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14file1:5.35-3DEBIAN-CVE-2019-8906
Ubuntu16.04:LTSfile1:5.25-2ubuntu1.2USN-3911-1
Ubuntu18.04:LTSfile1:5.32-2ubuntu0.2UBUNTU-CVE-2019-8906 USN-3911-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP3 and 3 morefile5.22-10.12.2SUSE-SU-2019:0839-1
SUSELinux Enterprise Module for Basesystem 15file, python-magic5.32-7.5.1SUSE-SU-2019:0571-1
SUSELinux Enterprise Module for Development Tools 15python-magic5.32-7.5.1SUSE-SU-2019:0571-1
SUSELinux Enterprise Software Development Kit 12 SP3, Linux Enterprise Software Development Kit 12 SP4file, python-magic5.22-10.12.2SUSE-SU-2019:0839-1
openSUSELeap 15.0file, python-magic5.32-lp150.6.3.1openSUSE-SU-2019:0345-1
Alpinev3.7, v3.8file5.32-r1ALPINE-CVE-2019-8906
Alpinev3.9, v3.10, v3.11 and 13 morefile5.36-r0ALPINE-CVE-2019-8906

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability was rated as LOW severity because its exploitation requires a local attacker to use a specially crafted file and it results in temporary application crashes or exposure of limited information, it does not allow remote code execution or system compromise.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5fileNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Enterprise Linux 6fileNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7fileNot affected
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 8fileFix deferred
Red Hat Software Collectionsrh-php72-phpNot affected
Red Hat Software Collectionsrh-php73-phpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-8906.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON