Skip to content
Fencer Vulns
medium 6.5

CVE-2018-10360 json

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…

published 2018-06-11 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2434

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • file Debian 14, Debian 13, Debian 12 1:5.33-3

debian advisories DEBIAN-CVE-2018-10360

  • file Ubuntu 14.04 LTS 1:5.14-2ubuntu3.4
  • file Ubuntu 16.04 LTS 1:5.25-2ubuntu1.1
  • file Ubuntu 18.04 LTS 1:5.32-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-10360

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • file RHEL 7 5.11-36.el7
  • file-libs RHEL 7 5.11-36.el7
  • python-magic RHEL 7 5.11-36.el7
  • file RHEL 7.6 EUS 5.11-35.el7_6.1
  • file-libs RHEL 7.6 EUS 5.11-35.el7_6.1
  • python-magic RHEL 7.6 EUS 5.11-35.el7_6.1
  • file RHEL 7.4 TUS, RHEL 7.4 E4S, RHEL 7.4 AUS 5.11-33.el7_4.1
  • file-libs RHEL 7.4 TUS, RHEL 7.4 E4S, RHEL 7.4 AUS 5.11-33.el7_4.1

red hat advisories RHSA-2020:2838RHSA-2020:2768RHSA-2020:2521RHSA-2020:1022

  • file SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +5 more 5.22-10.12.2
  • python-magic SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3 5.22-10.12.2
  • file SLE Module for Basesystem 15 5.32-7.5.1
  • python-magic SLE Module for Development Tools 15, SLE Module for Basesystem 15 5.32-7.5.1
  • php5 SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 5.5.14-109.38.1
  • php53 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.3.17-112.28.1

suse advisories SUSE-SU-2019:0839-1SUSE-SU-2019:0571-1SUSE-SU-2018:2682-1SUSE-SU-2018:2044-1

  • file openSUSE Tumbleweed 5.40-1.14
  • file openSUSE Leap 15.0 5.32-lp150.6.3.1
  • python-magic openSUSE Leap 15.0 5.32-lp150.6.3.1

opensuse advisories openSUSE-SU-2024:10755-1openSUSE-SU-2019:0345-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-10360 updated cvss 5.4

file: out-of-bounds read via a crafted ELF file

  • Red Hat Enterprise Linux 5 php53
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 php, file, php-gd, php-cli, php-dba, php-fpm, +23 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    affected: no fix available “Fix deferred”
  • Red Hat Ansible Tower 3.5 for RHEL 7 Server ansible-tower-35/ansible-tower 3.5.6-1
    fixed: vendor fix RHBA-2020:1539
  • Red Hat Ansible Tower 3.6 for RHEL 7 ansible-tower-36/ansible-tower 3.6.4-1
    fixed: vendor fix RHBA-2020:1540
  • Red Hat Enterprise Linux Client (v. 7) file 5.11-36.el7, file-libs 5.11-36.el7, python-magic 5.11-36.el7 Red Hat Enterprise Linux Client Optional (v. 7) file-devel 5.11-36.el7, file-static 5.11-36.el7, file-debuginfo 5.11-36.el7 Red Hat Enterprise Linux ComputeNode (v. 7) file 5.11-36.el7, file-libs 5.11-36.el7, python-magic 5.11-36.el7
    fixed: vendor fix RHSA-2020:1022
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) file 5.11-35.el7_6.1, file-libs 5.11-35.el7_6.1, python-magic 5.11-35.el7_6.1
    fixed: vendor fix RHSA-2020:2838
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.7) file 5.11-35.el7_7.1, file-libs 5.11-35.el7_7.1, python-magic 5.11-35.el7_7.1
    fixed: vendor fix RHSA-2020:2521
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) file-devel 5.11-36.el7, file-static 5.11-36.el7, file-debuginfo 5.11-36.el7
    fixed: vendor fix RHSA-2020:1022
show 14 more
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) file-devel 5.11-35.el7_6.1, file-static 5.11-35.el7_6.1, file-debuginfo 5.11-35.el7_6.1
    fixed: vendor fix RHSA-2020:2838
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) file-devel 5.11-35.el7_7.1, file-static 5.11-35.el7_7.1, file-debuginfo 5.11-35.el7_7.1
    fixed: vendor fix RHSA-2020:2521
  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) file 5.11-35.el7_6.1, file-libs 5.11-35.el7_6.1, python-magic 5.11-35.el7_6.1 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) file-devel 5.11-35.el7_6.1, file-static 5.11-35.el7_6.1, file-debuginfo 5.11-35.el7_6.1
    fixed: vendor fix RHSA-2020:2838
  • Red Hat Enterprise Linux Server (v. 7) file 5.11-36.el7, file-libs 5.11-36.el7, python-magic 5.11-36.el7
    fixed: vendor fix RHSA-2020:1022
  • Red Hat Enterprise Linux Server AUS (v. 7.4) file 5.11-33.el7_4.1, file-libs 5.11-33.el7_4.1, python-magic 5.11-33.el7_4.1 Red Hat Enterprise Linux Server E4S (v. 7.4) file 5.11-33.el7_4.1, file-libs 5.11-33.el7_4.1, python-magic 5.11-33.el7_4.1
    fixed: vendor fix RHSA-2020:2768
  • Red Hat Enterprise Linux Server EUS (v. 7.6) file 5.11-35.el7_6.1, file-libs 5.11-35.el7_6.1, python-magic 5.11-35.el7_6.1
    fixed: vendor fix RHSA-2020:2838
  • Red Hat Enterprise Linux Server EUS (v. 7.7) file 5.11-35.el7_7.1, file-libs 5.11-35.el7_7.1, python-magic 5.11-35.el7_7.1
    fixed: vendor fix RHSA-2020:2521
  • Red Hat Enterprise Linux Server Optional (v. 7) file-devel 5.11-36.el7, file-static 5.11-36.el7, file-debuginfo 5.11-36.el7
    fixed: vendor fix RHSA-2020:1022
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.4) file-devel 5.11-33.el7_4.1, file-static 5.11-33.el7_4.1, file-debuginfo 5.11-33.el7_4.1 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) file-devel 5.11-33.el7_4.1, file-static 5.11-33.el7_4.1, file-debuginfo 5.11-33.el7_4.1
    fixed: vendor fix RHSA-2020:2768
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.6) file-devel 5.11-35.el7_6.1, file-static 5.11-35.el7_6.1, file-debuginfo 5.11-35.el7_6.1
    fixed: vendor fix RHSA-2020:2838
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.7) file-devel 5.11-35.el7_7.1, file-static 5.11-35.el7_7.1, file-debuginfo 5.11-35.el7_7.1
    fixed: vendor fix RHSA-2020:2521
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.4) file-devel 5.11-33.el7_4.1, file-static 5.11-33.el7_4.1, file-debuginfo 5.11-33.el7_4.1 Red Hat Enterprise Linux Server TUS (v. 7.4) file 5.11-33.el7_4.1, file-libs 5.11-33.el7_4.1, python-magic 5.11-33.el7_4.1
    fixed: vendor fix RHSA-2020:2768
  • Red Hat Enterprise Linux Workstation (v. 7) file 5.11-36.el7, file-libs 5.11-36.el7, python-magic 5.11-36.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) file-devel 5.11-36.el7, file-static 5.11-36.el7, file-debuginfo 5.11-36.el7
    fixed: vendor fix RHSA-2020:1022
  • Red Hat Enterprise Linux 5 rpm, file, cdrtools Red Hat Enterprise Linux 8 file, file-libs, python3-magic Red Hat Software Collections rh-php70-php, rh-php71-php, rh-php70-php-gd, rh-php71-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.41% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.