Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-10360

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10360
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:24 UTC · Revision 1

Source evidence

CVE-2018-10360

core-osv · Original source

Published 11 Jun 2018, 10:29 UTC

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.

osv:CVE-2018-10360
Complete source record
{
  "id": "94201992ee3b65d3582b7b64a455c55b095a0d93c09e5954f5517a78245c222d",
  "url": "https://osv.dev/vulnerability/CVE-2018-10360",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10360",
    "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.",
    "evidence": "osv:CVE-2018-10360",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-10360",
      "aliases": [
        "CVE-2018-10360"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/file/file",
              "type": "GIT",
              "events": [
                {
                  "introduced": "219846094c7593e27453e62855e61181089c48cf"
                },
                {
                  "last_affected": "219846094c7593e27453e62855e61181089c48cf"
                },
                {
                  "fixed": "a642587a9c9e2dd7feacdf513c3643ce26ad3c22"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:file_project:file:5.33:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.33"
                      },
                      {
                        "last_affected": "5.33"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a642587a9c9e2dd7feacdf513c3643ce26ad3c22"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.33",
            "FILE5_33"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10360.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-10360-40752739",
                "digest": {
                  "length": 2821,
                  "function_hash": "254058072820689234381969040996687757502"
                },
                "source": "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
                "target": {
                  "file": "src/readelf.c",
                  "function": "do_core_note"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10360-8f478a7a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "23684663573675673089960887643566717873",
                    "236169850793254080861419192197258474429",
                    "70460217292905612324050046650107097386",
                    "160259835256462080381177519046770217725",
                    "93544682353849154857634237623532827914",
                    "242765592094645889898983886974302638010",
                    "236365010895987412967245950745120745925"
                  ]
                },
                "source": "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22",
                "target": {
                  "file": "src/readelf.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:28:32Z"
          }
        }
      ],
      "modified": "2026-10-20T13:28:32.244827928Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201806-08",
        "https://usn.ubuntu.com/3686-1/",
        "https://usn.ubuntu.com/3686-2/",
        "https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22"
      ],
      "provider_metadata": {
        "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:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "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"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "42.3"
                  },
                  {
                    "last_affected": "42.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-10360",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387720,
  "published_at": "2018-06-11T10:29:00.233+00:00"
}