CVE-2019-8907: do_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…
Noroxi assessment
Priority: Monitor (action score 36/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: 3.4% (FIRST EPSS); higher than 89.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. 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
do_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 crash) or possibly have unspecified other impact.
- Published
- Feb 18, 2019
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 89th percentile
- CWE
- CWE-787
Report tools
Action score
36
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
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 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- file project file5.35
- opensuse leap15.0
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 |
| Debian:8 | file | before 1:5.22+15-2+deb8u5 | 1:5.22+15-2+deb8u5 |
| 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 |
| openSUSE:Tumbleweed | file | before 5.40-1.14 | 5.40-1.14 |
| 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-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
- 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…27Monitor
Published before and after this one in the same product
- ← EarlierCVE-2014-9621Jan 21, 2015 · The ELF parser in file 5.16 through 5.21 allows remote attackers to cause a denial of service via a long string.21Monitor
- ← 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
- Later →CVE-2019-8906Feb 18, 2019 · do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.17Monitor
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.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.