Skip to content
Noroxi
CVE-2018-10360· NVD / CVE Program· CNA mitre

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.

MediumCVSS 6.5 · v3.0—No exploit Fix available
Published
Jun 11, 2018
Updated
Jun 16, 2026
EPSS
3.4% · 88th 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

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

VendorProduct
file projectfile
canonicalubuntu linux
opensuseleap

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.

EcosystemPackageAffected rangeFix
Debian:12filebefore 1:5.33-31:5.33-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
openSUSE:Tumbleweedfilebefore 5.40-1.145.40-1.14
Red Hat:enterprise_linux:7::clientfilebefore 0:5.11-36.el70:5.11-36.el7
Red Hat:enterprise_linux:7::clientfile-debuginfobefore 0:5.11-36.el70:5.11-36.el7
Red Hat:enterprise_linux:7::clientfile-develbefore 0:5.11-36.el70:5.11-36.el7
Red Hat:enterprise_linux:7::clientfile-libsbefore 0:5.11-36.el70:5.11-36.el7
Red Hat:enterprise_linux:7::clientfile-staticbefore 0:5.11-36.el70:5.11-36.el7
Red Hat:enterprise_linux:7::clientpython-magicbefore 0:5.11-36.el70:5.11-36.el7
Red Hat:rhel_aus:7.4::serverfilebefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_aus:7.4::serverfile-debuginfobefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_aus:7.4::serverfile-develbefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_aus:7.4::serverfile-libsbefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_aus:7.4::serverfile-staticbefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_aus:7.4::serverpython-magicbefore 0:5.11-33.el7_4.10:5.11-33.el7_4.1
Red Hat:rhel_eus:7.6::computenodefilebefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.6::computenodefile-debuginfobefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.6::computenodefile-develbefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.6::computenodefile-libsbefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.6::computenodefile-staticbefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.6::computenodepython-magicbefore 0:5.11-35.el7_6.10:5.11-35.el7_6.1
Red Hat:rhel_eus:7.7::computenodefilebefore 0:5.11-35.el7_7.10:5.11-35.el7_7.1
Red Hat:rhel_eus:7.7::computenodefile-debuginfobefore 0:5.11-35.el7_7.10:5.11-35.el7_7.1

+10

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-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 consumpti
    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
debian:file1:5.33-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)
red hat:file0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:file-debuginfo0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:file-devel0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:file-libs0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:file-static0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python-magic0:5.11-36.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:file5.32-7.5.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:php55.5.14-109.38.1 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)
suse:php535.3.17-112.28.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package 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

  • 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 Read

CVSS 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.

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