CVE-2019-8906

Source
https://cve.org/CVERecord?id=CVE-2019-8906
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-8906.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-8906
Downstream
ALPINE (1)
BELL (1)
DEBIAN (1)
openSUSE (1)
SUSE (2)
UBUNTU (1)
Related
Published
2019-02-18T17:29:01Z
Modified
2026-07-08T19:51:40Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
[none]
Details

do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "12.2"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "apple:iphone_os"
        },
        {
            "cpes":  [
                "cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "10.14.4"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "apple:mac_os_x"
        },
        {
            "cpes":  [
                "cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "12.2"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "apple:tvos"
        },
        {
            "cpes":  [
                "cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "5.2"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "apple:watchos"
        },
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                },
                {
                    "introduced":  "18.10"
                },
                {
                    "last_affected":  "18.10"
                }
            ],
            "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.35:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "5.35"
        },
        {
            "last_affected":  "5.35"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

5.*
5.35
Other
FILE5_35

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-8906.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "50134300944515749486679894215678025456",
            "length":  3326
        },
        "id":  "CVE-2019-8906-62c7b43b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f",
        "target":  {
            "file":  "src/readelf.c",
            "function":  "do_core_note"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "333164384304000014939969775433987025057",
                "305247237807722948317776446743530876769",
                "251035260985686906017783394955669487551",
                "334815268474935935102152633450803886526",
                "118413130556114706998516904846100232",
                "317474704739742838936164869212100976187",
                "100801867789909417053187722427126381463"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-8906-f339bc00",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f",
        "target":  {
            "file":  "src/readelf.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T19:51:40Z"