CVE-2022-4510 is a path traversal vulnerability in ReFirm Labs Binwalk versions 2.1.2b through 2.3.3, inclusive. The PFS filesystem extraction implementation does not adequately constrain archive entry paths during extraction. A crafted PFS filesystem processed with Binwalk's extraction mode can therefore cause files to be written outside the intended extraction directory. An attacker can use this arbitrary file-write primitive to install a malicious Binwalk plugin, which can result in code execution when the plugin is loaded.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a Python script (BadPfs.py) and a README.md. The script generates a malicious .pfs file designed to exploit CVE-2022-4510, a path traversal vulnerability in binwalk's extraction logic. By specifying a target file (such as /etc/shadow or /etc/sudoers) and attacker-controlled data, the script crafts a payload that, when processed by binwalk with the -e option, will overwrite the specified file with the provided data. This can be used for local privilege escalation if a privileged file is overwritten. The exploit is a proof-of-concept and requires local access to the system and the ability to run binwalk. The README provides usage instructions and an example command. No network endpoints are present; the attack is purely local and targets file paths on the system.
This repository contains a single exploit script, RCE_Binwalk.py, targeting CVE-2022-4510 in Binwalk versions 2.1.2b through 2.3.2. The script generates a malicious PNG file (binwalk_exploit.png) by embedding a crafted Binwalk plugin into a user-supplied PNG. When a vulnerable Binwalk instance processes this file, the plugin is executed, which attempts to connect back to an attacker-controlled netcat listener (specified by IP and port) and spawns a reverse shell (/bin/bash). The exploit uses temporary files in /tmp (such as /tmp/.binwalk and /tmp/plugin) to manage execution state and payload delivery. The repository is structured simply, with only the exploit script and a license file. The exploit is operational and provides a working reverse shell if the target is vulnerable and the attacker has a listener set up.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.