CVE-2022-4510

Path Traversal in binwalk

HIGH
7.8
CVSS Score
Published: January 25, 2023 at 12:25 PM UTC
Updated: June 17, 2026 at 05:21 AM UTC
2 products affected across 2 vendorsBinwalkBinwalk

Using binwalk by Refirm Labs?

Get instant alerts when new vulnerabilities affect binwalk - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 22%
SSVC
No known exploit

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. 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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.2.0 ≤ v < 2.3.3
Affected range stops below 2.3.3, so it looks safe — our inference, not a vendor statement
2.1.2b ≤ v ≤ 2.3.32.1.2b

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHONEKEY
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card