CVE-2022-4510
highpriority · attend · 49EPSS 0.220 · 98 %ileexploit · PoCEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- EDB-51249Binwalk v2.3.2 - Remote Command Execution (RCE)PoC · exploit_db
- electr0sm0g/CVE-2022-4510Binwalk Remote Command ExecutionPoC · poc_in_github
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-3cm8-v4mc-gppgPath traversal in binwalk2023-01-26ghsa · osvUS
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 inclusive. 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 and including 2.3.3.
- PYSEC-2026-787Path traversal in binwalk2026-07-07vendor · osvUS
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 inclusive. 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 and including 2.3.3.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-4510/cnnvd
- https://github.com/ReFirmLabs/binwalk/pull/617cnnvd
- https://github.com/ReFirmLabs/binwalk/releases/tag/v2.3.3Patchcnnvd
- https://security.gentoo.org/glsa/202309-07cnnvd
- https://www.exploit-db.com/exploits/51249cnnvd
- https://github.com/ReFirmLabs/binwalk/pull/617enisa_euvd
- https://security.gentoo.org/glsa/202309-07enisa_euvd
- https://github.com/ReFirmLabs/binwalk/pull/617ExploitPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan