Every CVE Search/ Get API key

CVE-2018-10360

The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to...

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.41%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2018-10360
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-10360
Updated
2026-11-02
EUVDEUVD-2018-2434 No score

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.

Record
EUVD-2018-2434
Updated
2026-11-03
GitHub AdvisoriesGHSA-fgjw-9ghg-j43j 6.5

The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to...

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.

Record
GHSA-fgjw-9ghg-j43j
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2018-10360
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-10360 6.5

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.

Record
DEBIAN-CVE-2018-10360
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 13 moreShow less
OSVRHSA-2020:1022 5.4

Red Hat Security Advisory: file security update

Record
RHSA-2020:1022
CVSS 3.0
5.4 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVRHSA-2020:2521 5.4

Red Hat Security Advisory: file security update

Record
RHSA-2020:2521
CVSS 3.0
5.4 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVRHSA-2020:2768 5.4

Red Hat Security Advisory: file security update

Record
RHSA-2020:2768
CVSS 3.0
5.4 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVRHSA-2020:2838 5.4

Red Hat Security Advisory: file security update

Record
RHSA-2020:2838
CVSS 3.0
5.4 MediumCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2018-10360 6.5

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.

Record
UBUNTU-CVE-2018-10360
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0295 No score

Updated file packages fix a security vulnerability

The updated packages fix a security vulnerability:

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. (CVE-2018-10360)

Record
MGASA-2018-0295
Updated
2026-11-02
OSVopenSUSE-SU-2019:0345-1 No score

Security update for file

This update for file fixes the following issues:

The following security vulnerabilities were addressed:

  • CVE-2018-10360: Fixed an out-of-bounds read in the function do_core_note in readelf.c, which allowed remote attackers to cause a denial of service (application crash) via a crafted ELF file (bsc#1096974)
  • CVE-2019-8905: Fixed a stack-based buffer over-read in do_core_note in readelf.c (bsc#1126118)
  • CVE-2019-8906: Fixed an out-of-bounds read in do_core_note in readelf. c (bsc#1126119)
  • CVE-2019-8907: Fixed a stack corruption in do_core_note in readelf.c (bsc#1126117)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:0345-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10755-1 No score

file-5.40-1.14 on GA media

These are all security issues fixed in the file-5.40-1.14 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10755-1
Updated
2026-11-02
OSVSUSE-SU-2018:2044-1 No score

Security update for php53

This update for php53 fixes the following issues:

The following security issue was fixed:

  • An out-of-bounds read in the do_core_note function in readelf.c in libmagic.a allowed remote attackers to cause a denial of service via a crafted ELF file (CVE-2018-10360, bsc#1096984)
  • CVE-2018-12882: exif_read_from_impl allowed attackers to trigger a use-after-free (in exif_read_from_file) because it closed a stream that it is not responsible for closing (bsc#1099098)
Record
SUSE-SU-2018:2044-1
Updated
2026-11-02
OSVSUSE-SU-2018:2682-1 No score

Security update for php5

This update for php5 fixes the following issues:

The following security issues were fixed:

  • CVE-2018-10360: Fixed an out-of-bounds read in the do_core_note function in readelf.c in libmagic.a, which allowed remote attackers to cause a denial of service via a crafted ELF file (bsc#1096984)
  • CVE-2018-14851: Fixed an out-of-bound read in exif_process_IFD_in_MAKERNOTE, which could be exploited by an attacker via crafted JPG files, and could result in an application crash. (bsc#1103659)
  • CVE-2018-12882: Fixed an use-after-free in exif_read_from_impl in ext/exif/exif.c (bsc#1099098)
  • CVE-2017-9118: Fixed an out of bounds access in php_pcre_replace_impl via a crafted preg_replace call (bsc#1105466)
Record
SUSE-SU-2018:2682-1
Updated
2026-11-02
OSVSUSE-SU-2019:0571-1 No score

Security update for file

This update for file fixes the following issues:

The following security vulnerabilities were addressed:

  • CVE-2018-10360: Fixed an out-of-bounds read in the function do_core_note in readelf.c, which allowed remote attackers to cause a denial of service (application crash) via a crafted ELF file (bsc#1096974)
  • CVE-2019-8905: Fixed a stack-based buffer over-read in do_core_note in readelf.c (bsc#1126118)
  • CVE-2019-8906: Fixed an out-of-bounds read in do_core_note in readelf. c (bsc#1126119)
  • CVE-2019-8907: Fixed a stack corruption in do_core_note in readelf.c (bsc#1126117)
Record
SUSE-SU-2019:0571-1
Updated
2026-11-02
OSVSUSE-SU-2019:0839-1 No score

Security update for file

This update for file fixes the following issues:

The following security vulnerabilities were addressed:

  • Fixed an out-of-bounds read in the function do_core_note in readelf.c, which allowed remote attackers to cause a denial of service (application crash) via a crafted ELF file (bsc#1096974 CVE-2018-10360).
  • CVE-2019-8905: Fixed a stack-based buffer over-read in do_core_note in readelf.c (bsc#1126118)
  • CVE-2019-8906: Fixed an out-of-bounds read in do_core_note in readelf. c (bsc#1126119)
  • CVE-2019-8907: Fixed a stack corruption in do_core_note in readelf.c (bsc#1126117)
Record
SUSE-SU-2019:0839-1
Updated
2026-11-02
OSVUSN-3686-1 No score

file vulnerabilities

Alexander Cherepanov discovered that file incorrectly handled a large number of notes. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9620)

Alexander Cherepanov discovered that file incorrectly handled certain long strings. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9621)

Alexander Cherepanov discovered that file incorrectly handled certain malformed ELF files. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9653)

It was discovered that file incorrectly handled certain magic files. An attacker could use this issue with a specially crafted magic file to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2015-8865)

It was discovered that file incorrectly handled certain malformed ELF files. An attacker could use this issue to cause a denial of service. (CVE-2018-10360)

Record
USN-3686-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
file
Debian:12
before 1:5.33-3
1:5.33-3
file
Debian:13
before 1:5.33-3
1:5.33-3
file
Debian:14
before 1:5.33-3
1:5.33-3
file
Mageia:5
before 5.19-10.2.mga5
5.19-10.2.mga5
file
Mageia:6
before 5.25-5.1.mga6
5.25-5.1.mga6
file
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
file-debuginfo
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
file-libs
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
python-magic
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
file-devel
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
Show 88 moreShow less
Affected packages
PackageAffectedFixed
file-static
Red Hat:enterprise_linux:7::client
before 0:5.11-36.el7
0:5.11-36.el7
file
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
file-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
file-libs
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
python-magic
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
file-devel
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
file-static
Red Hat:enterprise_linux:7::computenode
before 0:5.11-36.el7
0:5.11-36.el7
file
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
file-debuginfo
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
file-libs
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
python-magic
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
file-devel
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
file-static
Red Hat:enterprise_linux:7::server
before 0:5.11-36.el7
0:5.11-36.el7
file
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
file-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
file-libs
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
python-magic
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
file-devel
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
file-static
Red Hat:enterprise_linux:7::workstation
before 0:5.11-36.el7
0:5.11-36.el7
file
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-debuginfo
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-libs
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
python-magic
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-devel
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-static
Red Hat:rhel_eus:7.7::computenode
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-debuginfo
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-libs
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
python-magic
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-devel
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file-static
Red Hat:rhel_eus:7.7::server
before 0:5.11-35.el7_7.1
0:5.11-35.el7_7.1
file
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-debuginfo
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-libs
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
python-magic
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-debuginfo
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-libs
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
python-magic
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-debuginfo
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-libs
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
python-magic
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-devel
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-static
Red Hat:rhel_aus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-devel
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-static
Red Hat:rhel_e4s:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-devel
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file-static
Red Hat:rhel_tus:7.4::server
before 0:5.11-33.el7_4.1
0:5.11-33.el7_4.1
file
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-debuginfo
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-libs
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
python-magic
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-devel
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-static
Red Hat:rhel_eus:7.6::computenode
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-debuginfo
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-libs
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
python-magic
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-devel
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
file-static
Red Hat:rhel_eus:7.6::server
before 0:5.11-35.el7_6.1
0:5.11-35.el7_6.1
php53
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 2 CVEs
before 5.3.17-112.28.1
5.3.17-112.28.1
php53
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 2 CVEs
before 5.3.17-112.28.1
5.3.17-112.28.1
php53
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 2 CVEs
before 5.3.17-112.28.1
5.3.17-112.28.1
php5
SUSE:Linux Enterprise Module for Web and Scripting 12
From an advisory covering 4 CVEs
before 5.5.14-109.38.1
5.5.14-109.38.1
php5
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 4 CVEs
before 5.5.14-109.38.1
5.5.14-109.38.1
file
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 4 CVEs
before 5.32-7.5.1
5.32-7.5.1
python-magic
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 4 CVEs
before 5.32-7.5.1
5.32-7.5.1
python-magic
SUSE:Linux Enterprise Module for Development Tools 15
From an advisory covering 4 CVEs
before 5.32-7.5.1
5.32-7.5.1
file
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
python-magic
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
python-magic
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 4 CVEs
before 5.22-10.12.2
5.22-10.12.2
file
Ubuntu:14.04:LTS
before 1:5.14-2ubuntu3.4, plus listed versions
5.11-2ubuntu41:5.14-2ubuntu11:5.14-2ubuntu21:5.14-2ubuntu31:5.14-2ubuntu3.11:5.14-2ubuntu3.21:5.14-2ubuntu3.3
1:5.14-2ubuntu3.4
file
Ubuntu:16.04:LTS
before 1:5.25-2ubuntu1.1, plus listed versions
1:5.22+15-2ubuntu11:5.25-2ubuntu1
1:5.25-2ubuntu1.1
file
Ubuntu:18.04:LTS
before 1:5.32-2ubuntu0.1, plus listed versions
1:5.32-11:5.32-2
1:5.32-2ubuntu0.1
file
Ubuntu:14.04:LTS
From an advisory covering 5 CVEs
before 1:5.14-2ubuntu3.4, plus listed versions
5.11-2ubuntu41:5.14-2ubuntu11:5.14-2ubuntu21:5.14-2ubuntu31:5.14-2ubuntu3.11:5.14-2ubuntu3.21:5.14-2ubuntu3.3
1:5.14-2ubuntu3.4
file
Ubuntu:16.04:LTS
From an advisory covering 5 CVEs
before 1:5.25-2ubuntu1.1, plus listed versions
1:5.22+15-2ubuntu11:5.25-2ubuntu1
1:5.25-2ubuntu1.1
file
Ubuntu:18.04:LTS
From an advisory covering 5 CVEs
before 1:5.32-2ubuntu0.1, plus listed versions
1:5.32-11:5.32-2
1:5.32-2ubuntu0.1
file
openSUSE:Leap 15.0
From an advisory covering 4 CVEs
before 5.32-lp150.6.3.1
5.32-lp150.6.3.1
python-magic
openSUSE:Leap 15.0
From an advisory covering 4 CVEs
before 5.32-lp150.6.3.1
5.32-lp150.6.3.1
file
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 5.40-1.14
5.40-1.14

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-10360 is a medium vulnerability (CVSS 6.5) in File Project File, published June 11, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.41%, the 88th percentile. Fixed in file 1:5.33-3.

References

Show 50 moreShow less
MoveEnter Open