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 a
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 and application crash) via a crafted ELF file.
- Published
- Jun 11, 2018
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 88th percentile
- CWE
- CWE-125
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
Affected systems
| 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 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- canonical ubuntu linux18.04
- file project file5.33
- 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 |
|---|---|---|---|
| Debian:12 | file | before 1:5.33-3 | 1:5.33-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 |
| openSUSE:Tumbleweed | file | before 5.40-1.14 | 5.40-1.14 |
| Red Hat:enterprise_linux:7::client | file | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:enterprise_linux:7::client | file-debuginfo | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:enterprise_linux:7::client | file-devel | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:enterprise_linux:7::client | file-libs | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:enterprise_linux:7::client | file-static | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:enterprise_linux:7::client | python-magic | before 0:5.11-36.el7 | 0:5.11-36.el7 |
| Red Hat:rhel_aus:7.4::server | file | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_aus:7.4::server | file-debuginfo | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_aus:7.4::server | file-devel | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_aus:7.4::server | file-libs | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_aus:7.4::server | file-static | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_aus:7.4::server | python-magic | before 0:5.11-33.el7_4.1 | 0:5.11-33.el7_4.1 |
| Red Hat:rhel_eus:7.6::computenode | file | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.6::computenode | file-debuginfo | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.6::computenode | file-devel | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.6::computenode | file-libs | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.6::computenode | file-static | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.6::computenode | python-magic | before 0:5.11-35.el7_6.1 | 0:5.11-35.el7_6.1 |
| Red Hat:rhel_eus:7.7::computenode | file | before 0:5.11-35.el7_7.1 | 0:5.11-35.el7_7.1 |
| Red Hat:rhel_eus:7.7::computenode | file-debuginfo | before 0:5.11-35.el7_7.1 | 0:5.11-35.el7_7.1 |
+10
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 o32Monitor
- 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
- CVE-2014-8117softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumpti22Monitor
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 |
|---|---|---|
| debian:file | 1:5.33-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) |
| red hat:file | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-debuginfo | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-devel | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-libs | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-static | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-magic | 0:5.11-36.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:file | 5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:php5 | 5.5.14-109.38.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
| suse:php53 | 5.3.17-112.28.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | 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.
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.
Credits
All researchersFinders, 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
- 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
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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.
Attack patterns (CAPEC)
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-03/msg00027.html
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00053.html
- github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22
- security.gentoo.org/glsa/201806-08
- usn.ubuntu.com/3686-1/
- usn.ubuntu.com/3686-2/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.