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
Related
Published
2018-06-11T10:29:00.233Z
Modified
2026-07-08T14:59:11.071405Z
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 docorenote 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": [
        {
            "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: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": "15.0"
                },
                {
                    "last_affected": "15.0"
                },
                {
                    "introduced": "42.3"
                },
                {
                    "last_affected": "42.3"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "opensuse:leap",
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/file/file

Affected ranges

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

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_modified
"2026-07-08T14:59:11Z"
vanir_signatures
[
    {
        "digest": {
            "function_hash": "254058072820689234381969040996687757502",
            "length": 2821.0
        },
        "id": "CVE-2018-10360-40752739",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
        "signature_type": "Function",
        "target": {
            "function": "do_core_note",
            "file": "src/readelf.c"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "23684663573675673089960887643566717873",
                "236169850793254080861419192197258474429",
                "70460217292905612324050046650107097386",
                "160259835256462080381177519046770217725",
                "93544682353849154857634237623532827914",
                "242765592094645889898983886974302638010",
                "236365010895987412967245950745120745925"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-10360-8f478a7a",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
        "signature_type": "Line",
        "target": {
            "file": "src/readelf.c"
        }
    }
]