CVE-2021-36976

Source
https://cve.org/CVERecord?id=CVE-2021-36976
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36976.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-36976
Downstream
Related
Published
2021-07-20T07:15:07.950Z
Modified
2026-03-10T23:39:05.104347Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libarchive 3.4.1 through 3.5.1 has a use-after-free in copystring (called from douncompressblock and processblock).

References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.4.1"
        },
        {
            "last_affected": "3.5.2"
        }
    ]
}

Affected versions

v3.*
v3.4.1
v3.4.2
v3.4.3
v3.5.0
v3.5.1
v3.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36976.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "35"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "15.4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "15.4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "12.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "8.5"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "8.2.0"
            },
            {
                "fixed": "8.2.12"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "9.0.0"
            },
            {
                "fixed": "9.0.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.1.0"
            }
        ]
    }
]