CVE-2022-4510

published 25 Jan 2023 · updated 16 Dec 2025

Path Traversal in binwalk

9.3CriticalCVSS 7.8EPSS 23%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 23%. No fixed version is recorded.

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. This vulnerability is associated with program files src/binwalk/plugins/unpfs.py. This issue affects binwalk from 2.1.2b through 2.3.3 included.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ReFirm Labs>=2.1.2b <=2.3.3

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-4510 severity on Zeptric[![CVE-2022-4510](https://zeptric.io/badge/cve/CVE-2022-4510.svg)](https://zeptric.io/cve/CVE-2022-4510)