Skip to content
Noroxi
CVE-2019-8906· NVD / CVE Program· CNA mitre

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

MediumCVSS 4.4 · v3.1—No exploit Fix available
Published
Feb 18, 2019
Updated
Jun 16, 2026
EPSS
0.5% · 39th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

17

Monitor

Low priority for now.

CVSS
17 / 40 · 4.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Affected systems

VendorProduct
file projectfile
canonicalubuntu linux
opensuseleap
appleiphone os
applemac os x
appletvos
applewatchos

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple iphone osbefore 12.2
  • apple mac os xbefore 10.14.4
  • apple tvosbefore 12.2
  • apple watchosbefore 5.2
  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • file project file5.35
  • opensuse leap15.0
  • opensuse leap42.3

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10filebefore 5.36-r05.36-r0
Alpine:v3.7filebefore 5.32-r15.32-r1
Debian:12filebefore 1:5.35-31:5.35-3
openSUSE:Leap 15.0filebefore 5.32-lp150.6.3.15.32-lp150.6.3.1
openSUSE:Leap 15.0python-magicbefore 5.32-lp150.6.3.15.32-lp150.6.3.1
SUSE:Linux Enterprise Desktop 12 SP3filebefore 5.22-10.12.25.22-10.12.2
SUSE:Linux Enterprise Module for Basesystem 15filebefore 5.32-7.5.15.32-7.5.1
SUSE:Linux Enterprise Module for Basesystem 15python-magicbefore 5.32-7.5.15.32-7.5.1
SUSE:Linux Enterprise Software Development Kit 12 SP3python-magicbefore 5.22-10.12.25.22-10.12.2

Other highest-scoring records for the same primary product.

  • CVE-2019-8907do_core_note in readelf.c in libmagic.a in file 5.35 allows remote attackers to cause a denial of service (stack corruption and application
    36Monitor
  • CVE-2019-8904do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.
    36Monitor
  • CVE-2019-18218cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer o
    32Monitor
  • CVE-2018-10360The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read a
    27Monitor
  • CVE-2022-48554File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c.
    22Monitor
  • CVE-2017-1000249An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:file5.36-r0 · Alpine:v3.10Package registry (OSV)
debian:file1:5.35-3 · Debian:12Package registry (OSV)
opensuse:file5.32-lp150.6.3.1 · openSUSE:Leap 15.0Package registry (OSV)
opensuse:python-magic5.32-lp150.6.3.1 · openSUSE:Leap 15.0Package registry (OSV)
suse:file5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python-magic5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
none
Availability
low · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
None
Availability impact
Low

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records