CVE-2019-8906: do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.49% (FIRST EPSS).
- 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.
- Fixed version: file (Alpine:v3.10) 5.36-r0; file (Alpine:v3.7) 5.32-r1; file (Debian:12) 1:5.35-3.
Low priority for now. Upgrade to file (Alpine:v3.10) 5.36-r0; file (Alpine:v3.7) 5.32-r1; file (Debian:12) 1:5.35-3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Feb 18, 2019
- Updated
- Oct 8, 2026
- EPSS
- 0.4% · 43th percentile
- CWE
- CWE-125
Report tools
Action score
17
Low priority for now.
- CVSS
- 17 / 40 · 4.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| file project | file | cpe:2.3:a:file_project:file |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| apple | tvos | cpe:2.3:o:apple:tvos |
| apple | watchos | cpe:2.3:o:apple:watchos |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | file | before 5.36-r0 | 5.36-r0 |
| Alpine:v3.7 | file | before 5.32-r1 | 5.32-r1 |
| Debian:12 | file | before 1:5.35-3 | 1:5.35-3 |
| openSUSE:Leap 15.0 | file | before 5.32-lp150.6.3.1 | 5.32-lp150.6.3.1 |
| openSUSE:Leap 15.0 | python-magic | before 5.32-lp150.6.3.1 | 5.32-lp150.6.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | file | before 5.22-10.12.2 | 5.22-10.12.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 | file | before 5.32-7.5.1 | 5.32-7.5.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | python-magic | before 5.32-7.5.1 | 5.32-7.5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | python-magic | before 5.22-10.12.2 | 5.22-10.12.2 |
Same product
file project: all recordsOther 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…32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2017-1000249Sep 11, 2017 · An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes…22Monitor
- ← EarlierCVE-2018-10360Jun 11, 2018 · The 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…27Monitor
- Later →CVE-2022-48554Aug 22, 2023 · File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c.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 / package | Fixed version | Source |
|---|---|---|
| alpine:file | 5.36-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:file | 1:5.35-3 · Debian:12 | Package registry (OSV) |
| opensuse:file | 5.32-lp150.6.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:python-magic | 5.32-lp150.6.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| suse:file | 5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:python-magic | 5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package 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.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
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 ReadCVSS 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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.