{
    "id": "CVE-2022-4510",
    "published": "2023-01-26 21:18:06",
    "last_modified": "2026-06-17 05:21:04",
    "cvss_score": "7.8",
    "cvss_severity": "HIGH",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "cwe": "CWE-22",
    "description": "A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included. By crafting a malicious PFS filesystem file, an attacker can get binwalk's PFS extractor to extract files at arbitrary locations when binwalk is run in extraction mode (-e option). Remote code execution can be achieved by building a PFS filesystem that, upon extraction, would extract a malicious binwalk module into the folder .config/binwalk/plugins.\n This vulnerability is associated with program files src/binwalk/plugins/unpfs.py.\n\nThis issue affects binwalk from 2.1.2b through 2.3.3 included.",
    "epss_score": "0.22013",
    "epss_percentile": "0.97590",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:35",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "microsoft",
            "product": "binwalk"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "51249",
            "title": "Binwalk v2.3.2 - Remote Command Execution (RCE)",
            "date": "2023-04-05",
            "url": "https://www.exploit-db.com/exploits/51249"
        }
    ],
    "refs_list": [
        "https://github.com/ReFirmLabs/binwalk/pull/617",
        "https://security.gentoo.org/glsa/202309-07",
        "https://github.com/ReFirmLabs/binwalk/pull/617",
        "https://lists.debian.org/debian-lts-announce/2025/12/msg00022.html",
        "https://security.gentoo.org/glsa/202309-07"
    ]
}