{"id":"CVE-2022-4510","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-4510","generatedAt":"2026-11-04T23:49:51.507Z","title":"A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included.","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.","published":"2023-01-26T21:18:07.000Z","lastModified":"2026-06-17T05:21:04.000Z","status":"Modified","sourceIdentifier":"research@onekey.com","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-22"],"affected":["microsoft/binwalk"],"epss":{"score":0.22013,"percentile":0.97666,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2023-04-05","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":51249,"kind":"exploit","title":"Binwalk v2.3.2 - Remote Command Execution (RCE)","url":"https://www.exploit-db.com/exploits/51249","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/python/remote/51249.py","file":"exploits/python/remote/51249.py","published":"2023-04-05","added":"2023-04-05","updated":"2023-04-05","author":"Etienne Lacoche","type":"remote","platform":"python","port":null,"verified":false,"codes":["CVE-2022-4510"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 22.0%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/ReFirmLabs/binwalk/pull/617","tags":["Exploit","Patch","Third Party Advisory"],"source":"research@onekey.com"},{"url":"https://security.gentoo.org/glsa/202309-07","source":"research@onekey.com"},{"url":"https://github.com/ReFirmLabs/binwalk/pull/617","tags":["Exploit","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00022.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202309-07","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4510","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}