CVE-2019-18408

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-18408
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-18408.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-18408
Downstream
Related
Published
2019-10-24T14:15:11Z
Modified
2025-10-15T10:36:28.540624Z
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

archivereadformatrarreaddata in archivereadsupportformatrar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVEFAILED 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

Affected versions

v2.*

v2.6.0
v2.6.1
v2.6.2
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5

v3.*

v3.0.0a
v3.0.1b
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.1
v3.1.2
v3.1.900a
v3.1.901a
v3.2.0
v3.2.1
v3.2.2
v3.3.0
v3.3.1
v3.3.2
v3.3.3

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60",
        "signature_type": "Line",
        "target": {
            "file": "libarchive/archive_read_support_format_rar.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "13530669440819548829446001627315510983",
                "30206279959829505410740378601657428285",
                "258630186411923425322575083560185010329",
                "104342156800089152430308786258263019379",
                "14505537362856709045373209306677344244"
            ]
        },
        "id": "CVE-2019-18408-6384e45e"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60",
        "signature_type": "Function",
        "target": {
            "function": "archive_read_format_rar_read_data",
            "file": "libarchive/archive_read_support_format_rar.c"
        },
        "digest": {
            "function_hash": "154621412525457028729577760007049177315",
            "length": 1230.0
        },
        "id": "CVE-2019-18408-f9458321"
    }
]