{
    "id": "CVE-2021-31162",
    "published": "2021-04-14 07:15:12",
    "last_modified": "2026-06-17 03:51:21",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-415",
    "description": "In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.",
    "epss_score": "0.02890",
    "epss_percentile": "0.86526",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 0,
    "updated_at": "2026-10-11 18:17:26",
    "priority": {
        "rank": 3,
        "label": "In your normal cycle",
        "why": "Critical by CVSS (9.8), but no sign of active exploitation."
    },
    "products": [
        {
            "vendor": "fedoraproject",
            "product": "fedora"
        },
        {
            "vendor": "rust-lang",
            "product": "rust"
        }
    ],
    "kev_detail": null,
    "exploits": [],
    "refs_list": [
        "https://github.com/rust-lang/rust/issues/83618",
        "https://github.com/rust-lang/rust/pull/83629",
        "https://github.com/rust-lang/rust/pull/84603",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/",
        "https://security.gentoo.org/glsa/202210-09",
        "https://github.com/rust-lang/rust/issues/83618",
        "https://github.com/rust-lang/rust/pull/83629",
        "https://github.com/rust-lang/rust/pull/84603",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/",
        "https://security.gentoo.org/glsa/202210-09"
    ]
}