CVE-2022-4510Binwalk Path Traversal
Path traversal in binwalk
Published Jan 26, 2023 · Updated Aug 12, 2026 · Also known as DEBIAN-CVE-2022-4510, DLA-3339-1, DLA-4410-1, GHSA-3cm8-v4mc-gppg, PYSEC-2026-787, UBUNTU-CVE-2022-4510
Key Facts
Patch immediately- CVE-2022-4510 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting Binwalk (Microsoft).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 22% probability of exploitation in the next 30 days.
- Fixed versions are available, including Binwalk 2.1.2~git20180830+dfsg1-1+deb10u1, Binwalk 2.3.1+dfsg1-1+deb11u1, Binwalk 2.3.3-2.1.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
22%
Higher than 97.6% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-4510
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-4510
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2022-4510
- advisoryhttps://ubuntu.com/security/CVE-2022-4510
- advisoryGHSA advisory
- advisoryhttps://github.com/ReFirmLabs/binwalk/commit/696fe34ed680ffd951bfeca737feb4a0b98dde5c
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 Products
19 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| BinwalkMicrosoft | >= 2.1.2b | 2.3.3 |
Patched Releases
Binwalk
2.1.2~git20180830+dfsg1-1+deb10u1, 2.3.1+dfsg1-1+deb11u1, 2.3.3-2.1, 2.3.4, 2.3.4+dfsg1-1, 2.3.3
Timeline
Publicly disclosed
Jan 26, 2023
Last updated
Aug 12, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-4510
- advisorysecurity-tracker.debian.org · CVE-2022-4510
- advisoryubuntu.com · CVE-2022-4510
- advisoryGHSA advisory
FAQ
Common Questions.
A path traversal vulnerability was identified in ReFirm Labs binwalk from version 2.1.2b through 2.3.3 included.
Affected: Binwalk (Microsoft) versions >= 2.1.2b. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Binwalk 2.1.2~git20180830+dfsg1-1+deb10u1, Binwalk 2.3.1+dfsg1-1+deb11u1, Binwalk 2.3.3-2.1.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2022-4510 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo