CVE-2018-10360

Source
https://cve.org/CVERecord?id=CVE-2018-10360
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10360.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-10360
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (2)
RHSA (4)
SUSE (4)
UBUNTU (1)
Related
Published
2018-06-11T10:29:00Z
Modified
2026-07-08T14:59:11Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "12.04"
                },
                {
                    "last_affected":  "12.04"
                },
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "17.10"
                },
                {
                    "last_affected":  "17.10"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "15.0"
                },
                {
                    "last_affected":  "15.0"
                },
                {
                    "introduced":  "42.3"
                },
                {
                    "last_affected":  "42.3"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:leap"
        }
    ]
}
References

Affected packages

Git / github.com/file/file

Affected ranges

Type
GIT
Repo
https://github.com/file/file
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:file_project:file:5.33:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "5.33"
        },
        {
            "last_affected":  "5.33"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

5.*
5.33
Other
FILE5_33

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10360.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "254058072820689234381969040996687757502",
            "length":  2821
        },
        "id":  "CVE-2018-10360-40752739",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
        "target":  {
            "file":  "src/readelf.c",
            "function":  "do_core_note"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "23684663573675673089960887643566717873",
                "236169850793254080861419192197258474429",
                "70460217292905612324050046650107097386",
                "160259835256462080381177519046770217725",
                "93544682353849154857634237623532827914",
                "242765592094645889898983886974302638010",
                "236365010895987412967245950745120745925"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-10360-8f478a7a",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
        "target":  {
            "file":  "src/readelf.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T14:59:11Z"