CVE-2019-18408

Source
https://cve.org/CVERecord?id=CVE-2019-18408
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18408.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-18408
Downstream
ALPINE (1)
BELL (1)
DEBIAN (1)
openSUSE (3)
RHSA (3)
SUSE (3)
UBUNTU (1)
Related
Published
2019-10-24T14:15:11Z
Modified
2026-04-11T14:11:12Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.

References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "versions":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.4.0"
        }
    ]
}

Affected versions

v3.*
v3.0.0a
v3.0.1b
v3.1.900a
v3.2.0
v3.2.1
v3.2.2
v3.3.0
v3.3.1
v3.3.2
v3.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18408.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "8.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "14.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "16.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "18.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "19.04"
            }
        ]
    }
]
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "13530669440819548829446001627315510983",
                "30206279959829505410740378601657428285",
                "258630186411923425322575083560185010329",
                "104342156800089152430308786258263019379",
                "14505537362856709045373209306677344244"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-18408-6384e45e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60",
        "target":  {
            "file":  "libarchive/archive_read_support_format_rar.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "154621412525457028729577760007049177315",
            "length":  1230
        },
        "id":  "CVE-2019-18408-f9458321",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60",
        "target":  {
            "file":  "libarchive/archive_read_support_format_rar.c",
            "function":  "archive_read_format_rar_read_data"
        }
    }
]
vanir_signatures_modified
"2026-04-11T14:11:12Z"