CVE-2022-4510Binwalk Path Traversal
Path traversal in binwalk
Published Jan 25, 2023 · Updated Nov 3, 2026 · Also known as CLEANSTART-2024-NO63086, DEBIAN-CVE-2022-4510, DLA-3339-1, DLA-4410-1, GHSA-3cm8-v4mc-gppg, MGASA-2023-0074, PYSEC-2026-787, UBUNTU-CVE-2022-4510, USN-9134-1, openSUSE-SU-2024:12649-1
Key Facts
Patch immediately- CVE-2022-4510 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting Binwalk (Microsoft), python3-binwalk (ubuntu).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 24% probability of exploitation in the next 30 days.
- Fixed versions are available, including Binwalk 2.1.2~git20180830+dfsg1-1+deb10u1, Binwalk 2.2.0+dfsg1-1ubuntu0.1~esm1, Binwalk 2.3.1+dfsg1-1+deb11u1.
- 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)
24%
Higher than 97.8% 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
- advisoryhttps://advisories.mageia.org/MGASA-2023-0074.html
- advisoryhttps://bugs.mageia.org/show_bug.cgi?id=31375
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
26 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| BinwalkMicrosoft | >= 2.1.2b | 2.3.3 |
| python3-binwalkubuntu | See advisory | 2.2.0+dfsg1-1ubuntu0.1~esm1 |
Patched Releases
Binwalk
2.1.2~git20180830+dfsg1-1+deb10u1, 2.2.0+dfsg1-1ubuntu0.1~esm1, 2.3.1+dfsg1-1+deb11u1, 2.3.3-2.1, 2.3.3+dfsg1-2ubuntu0.1~esm1, 2.3.4, 2.3.4-1.mga8, 2.3.4-r0, 2.3.4+dfsg1-1, 2.3.3
python3-binwalk
2.2.0+dfsg1-1ubuntu0.1~esm1, 2.3.3+dfsg1-2ubuntu0.1~esm1
Timeline
Publicly disclosed
Jan 25, 2023
Last updated
Nov 3, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-4510
- advisorysecurity-tracker.debian.org · CVE-2022-4510
- advisoryubuntu.com · CVE-2022-4510
- advisoryadvisories.mageia.org · MGASA-2023-0074.html
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; python3-binwalk (ubuntu). 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.2.0+dfsg1-1ubuntu0.1~esm1, Binwalk 2.3.1+dfsg1-1+deb11u1.
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